about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Desjardins <erikdesjardins@users.noreply.github.com>2022-02-20 12:57:22 -0500
committerErik Desjardins <erikdesjardins@users.noreply.github.com>2022-02-20 12:57:22 -0500
commit5bf8303bbc0f7ad6f68c1c7311ca538ddcb23ebe (patch)
tree2c656481d8843357a3bba04fea81832d87a86700
parent067f628286216cd3a78524da28fab29bfb0f516a (diff)
downloadrust-5bf8303bbc0f7ad6f68c1c7311ca538ddcb23ebe.tar.gz
rust-5bf8303bbc0f7ad6f68c1c7311ca538ddcb23ebe.zip
limit tests to llvm 14+
-rw-r--r--src/test/codegen/consts.rs2
-rw-r--r--src/test/codegen/uninit-consts.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/codegen/consts.rs b/src/test/codegen/consts.rs
index e47a9f9ee20..1a84f1a4479 100644
--- a/src/test/codegen/consts.rs
+++ b/src/test/codegen/consts.rs
@@ -1,5 +1,5 @@
 // compile-flags: -C no-prepopulate-passes
-//
+// min-llvm-version: 14.0
 
 #![crate_type = "lib"]
 
diff --git a/src/test/codegen/uninit-consts.rs b/src/test/codegen/uninit-consts.rs
index 17457bc628b..3e370c7ba64 100644
--- a/src/test/codegen/uninit-consts.rs
+++ b/src/test/codegen/uninit-consts.rs
@@ -1,4 +1,5 @@
 // compile-flags: -C no-prepopulate-passes
+// min-llvm-version: 14.0
 
 // Check that we use undef (and not zero) for uninitialized bytes in constants.