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.
This commit is contained in:
parent
ae612bedcb
commit
ee86b1f84c
2 changed files with 2 additions and 2 deletions
|
@ -8,4 +8,4 @@
|
||||||
fn main() {
|
fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// CHECK: define{{( hidden)?}} i32 @main(i32{{( %0)?}}, ptr{{( %1)?}})
|
// CHECK: define{{( hidden| noundef)*}} i32 @main(i32{{( %0)?}}, ptr{{( %1)?}})
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub struct Bool {
|
||||||
b: bool,
|
b: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
// CHECK: define i64 @structbool()
|
// CHECK: define{{.*}} i64 @structbool()
|
||||||
// CHECK-NEXT: start:
|
// CHECK-NEXT: start:
|
||||||
// CHECK-NEXT: ret i64 72057594037927936
|
// CHECK-NEXT: ret i64 72057594037927936
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
|
Loading…
Add table
Reference in a new issue