about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-10-02 10:45:49 +0200
committerNikita Popov <npopov@redhat.com>2023-10-02 11:06:38 +0200
commit5bcf4f26ac44284b0dbc9b53404fa5dd8a0db01a (patch)
treed3d51fb862e7cc41f5615f56aa044c52edb1b9c8 /tests/codegen
parentebbc68769d1207e8036cfbff00e5b8016e9a16b7 (diff)
downloadrust-5bcf4f26ac44284b0dbc9b53404fa5dd8a0db01a.tar.gz
rust-5bcf4f26ac44284b0dbc9b53404fa5dd8a0db01a.zip
Limit to LLVM 17.0.2 to work around WinEH codegen bug
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/issue-97217.rs1
-rw-r--r--tests/codegen/unwind-landingpad-cold.rs1
-rw-r--r--tests/codegen/unwind-landingpad-inline.rs2
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/codegen/issue-97217.rs b/tests/codegen/issue-97217.rs
index 5558447cd17..af7345442fc 100644
--- a/tests/codegen/issue-97217.rs
+++ b/tests/codegen/issue-97217.rs
@@ -1,5 +1,6 @@
 // compile-flags: -C opt-level=3
 // ignore-debug: the debug assertions get in the way
+// min-llvm-version: 17.0.2
 #![crate_type = "lib"]
 
 // Regression test for issue 97217 (the following should result in no allocations)
diff --git a/tests/codegen/unwind-landingpad-cold.rs b/tests/codegen/unwind-landingpad-cold.rs
index 53d0a01a952..3a902a7d712 100644
--- a/tests/codegen/unwind-landingpad-cold.rs
+++ b/tests/codegen/unwind-landingpad-cold.rs
@@ -1,5 +1,6 @@
 // compile-flags: -Cno-prepopulate-passes
 // needs-unwind
+// min-llvm-version: 17.0.2
 #![crate_type = "lib"]
 
 // This test checks that drop calls in unwind landing pads
diff --git a/tests/codegen/unwind-landingpad-inline.rs b/tests/codegen/unwind-landingpad-inline.rs
index a65d6f202f6..0774cefdd2d 100644
--- a/tests/codegen/unwind-landingpad-inline.rs
+++ b/tests/codegen/unwind-landingpad-inline.rs
@@ -1,4 +1,4 @@
-// min-llvm-version: 15.0.0
+// min-llvm-version: 17.0.2
 // compile-flags: -Copt-level=3
 // ignore-debug: the debug assertions get in the way
 #![crate_type = "lib"]