about summary refs log tree commit diff
path: root/tests/codegen/sparc-struct-abi.rs
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-01-02 17:46:57 +0000
committerMatthew Maurer <mmaurer@google.com>2024-01-02 18:02:17 +0000
commitee86b1f84cf47f9ffea1bfc9b4ab4357e9611c05 (patch)
tree3049f9d1ac04d50cbf948fb041762282d300f2ba /tests/codegen/sparc-struct-abi.rs
parentae612bedcbfc7098d1711eb35bc7ca994eb17a4c (diff)
downloadrust-ee86b1f84cf47f9ffea1bfc9b4ab4357e9611c05.tar.gz
rust-ee86b1f84cf47f9ffea1bfc9b4ab4357e9611c05.zip
llvm: Allow `noundef` in codegen tests
LLVM 18 will automatically infer `noundef` in some situations.
Adjust codegen tests to accept this.

See llvm/llvm-project#76553 for why `noundef` is being generated now.
Diffstat (limited to 'tests/codegen/sparc-struct-abi.rs')
-rw-r--r--tests/codegen/sparc-struct-abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/sparc-struct-abi.rs b/tests/codegen/sparc-struct-abi.rs
index e8816e4f303..b94ef79aec7 100644
--- a/tests/codegen/sparc-struct-abi.rs
+++ b/tests/codegen/sparc-struct-abi.rs
@@ -18,7 +18,7 @@ pub struct Bool {
     b: bool,
 }
 
-// CHECK: define i64 @structbool()
+// CHECK: define{{.*}} i64 @structbool()
 // CHECK-NEXT: start:
 // CHECK-NEXT: ret i64 72057594037927936
 #[no_mangle]