bump minimum LLVM version to 5.0

This commit is contained in:
gnzlbg 2018-06-29 10:28:51 +02:00
parent ec039c7cb1
commit 4ff90c7e0a
30 changed files with 17 additions and 268 deletions

View file

@ -12,8 +12,6 @@
// scalar value.
// compile-flags: -C no-prepopulate-passes
// min-llvm-version 4.0
#![crate_type = "lib"]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// min-llvm-version 4.0
// compile-flags: -O
// ignore-x86
// ignore-arm

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// min-llvm-version 4.0
// compile-flags: -O
#![crate_type="rlib"]

View file

@ -14,7 +14,6 @@
// ignore-tidy-linelength
// ignore-windows
// ignore-macos
// min-llvm-version 4.0
// compile-flags: -g -C no-prepopulate-passes

View file

@ -8,13 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// This test depends on a patch that was committed to upstream LLVM
// before 4.0, formerly backported to the Rust LLVM fork.
// ignore-tidy-linelength
// ignore-windows
// ignore-macos
// min-llvm-version 4.0
// compile-flags: -g -C no-prepopulate-passes

View file

@ -10,7 +10,6 @@
// compile-flags: -g -C no-prepopulate-passes
// ignore-tidy-linelength
// min-llvm-version 4.0
#![crate_type = "lib"]

View file

@ -21,7 +21,6 @@
// ignore-wasm
// ignore-emscripten
// ignore-windows
// min-system-llvm-version 5.0
// compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]

View file

@ -14,7 +14,7 @@
// ignore-tidy-linelength
// ignore-windows
// ignore-macos
// min-system-llvm-version 5.1
// min-llvm-version 6.0
// compile-flags: -g -C no-prepopulate-passes

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// min-llvm-version 5.0
// ignore-emscripten
// Test that the simd_reduce_{op} intrinsics produce ok-ish error

View file

@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// asmjs can't even pass i128 as arguments or return values, so ignore it.
// this will hopefully be fixed by the LLVM 5 upgrade (#43370)
// ignore-asmjs
// ignore-emscripten
// compile-flags: -Z lower_128bit_ops=yes -C debug_assertions=no

View file

@ -1,5 +1,3 @@
# min-llvm-version 4.0
# ignore-msvc
-include ../tools.mk

View file

@ -28,12 +28,7 @@ namespace {
bool runOnFunction(Function &F) override;
#if LLVM_VERSION_MAJOR >= 4
StringRef
#else
const char *
#endif
getPassName() const override {
StringRef getPassName() const override {
return "Some LLVM pass";
}

View file

@ -27,12 +27,7 @@ namespace {
bool runOnModule(Module &M) override;
#if LLVM_VERSION_MAJOR >= 4
StringRef
#else
const char *
#endif
getPassName() const override {
StringRef getPassName() const override {
return "Some LLVM pass";
}

View file

@ -9,7 +9,6 @@
// except according to those terms.
// check that we don't have linear stack usage with multiple calls to `push`
// min-llvm-version 4.0
#![feature(test)]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// min-llvm-version 5.0
// ignore-emscripten
// Test that the simd_reduce_{op} intrinsics produce the correct results.

View file

@ -21,7 +21,6 @@
// ignore-emscripten no processes
// ignore-musl FIXME #31506
// ignore-pretty
// min-system-llvm-version 5.0
// compile-flags: -C lto
// no-prefer-dynamic

View file

@ -20,7 +20,6 @@
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-musl FIXME #31506
// min-system-llvm-version 5.0
use std::mem;
use std::process::Command;

View file

@ -9,7 +9,6 @@
// except according to those terms.
// compile-flags: -Z thinlto -C codegen-units=2
// min-llvm-version 4.0
#[global_allocator]
static A: std::alloc::System = std::alloc::System;

View file

@ -10,7 +10,6 @@
// compile-flags: -Clto=thin
// no-prefer-dynamic
// min-llvm-version 4.0
fn main() {
println!("hello!");

View file

@ -9,7 +9,6 @@
// except according to those terms.
// aux-build:dylib.rs
// min-llvm-version 4.0
extern crate dylib;

View file

@ -10,7 +10,6 @@
// aux-build:msvc-imp-present.rs
// compile-flags: -Z thinlto -C codegen-units=8
// min-llvm-version: 4.0
// no-prefer-dynamic
// On MSVC we have a "hack" where we emit symbols that look like `_imp_$name`

View file

@ -9,7 +9,6 @@
// except according to those terms.
// compile-flags: -Z thinlto -C codegen-units=8 -O
// min-llvm-version 4.0
// ignore-emscripten can't inspect instructions on emscripten
// We want to assert here that ThinLTO will inline across codegen units. There's

View file

@ -10,7 +10,6 @@
// compile-flags: -C codegen-units=8 -O -C lto=thin
// aux-build:thin-lto-inlines-aux.rs
// min-llvm-version 4.0
// no-prefer-dynamic
// ignore-emscripten can't inspect instructions on emscripten

View file

@ -10,7 +10,6 @@
// compile-flags: -C codegen-units=8 -Z thinlto
// ignore-windows
// min-llvm-version 4.0
#![feature(linkage)]