Skip to content

Commit 7538a9b

Browse files
committed
Update the codegen/mainsubprogram tests to min-llvm 4.0
The necessary changes were only in upstream LLVM in 4.0, but they were for a while backported to Rust LLVM. Now that Rust LLVM is also 4.0, we can make the test conditional here more accurate.
1 parent 68311bd commit 7538a9b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/test/codegen/mainsubprogram.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// The minimum LLVM version is set to 3.8, but really this test
12-
// depends on a patch that is was committed to upstream LLVM before
13-
// 4.0; and also backported to the Rust LLVM fork.
11+
// This test depends on a patch that was committed to upstream LLVM
12+
// before 4.0, formerly backported to the Rust LLVM fork.
1413

1514
// ignore-tidy-linelength
1615
// ignore-windows
1716
// ignore-macos
18-
// min-llvm-version 3.8
17+
// min-llvm-version 4.0
1918

2019
// compile-flags: -g -C no-prepopulate-passes
2120

src/test/codegen/mainsubprogramstart.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// The minimum LLVM version is set to 3.8, but really this test
12-
// depends on a patch that is was committed to upstream LLVM before
13-
// 4.0; and also backported to the Rust LLVM fork.
11+
// This test depends on a patch that was committed to upstream LLVM
12+
// before 4.0, formerly backported to the Rust LLVM fork.
1413

1514
// ignore-tidy-linelength
1615
// ignore-windows
1716
// ignore-macos
18-
// min-llvm-version 3.8
17+
// min-llvm-version 4.0
1918

2019
// compile-flags: -g -C no-prepopulate-passes
2120

0 commit comments

Comments
 (0)