Skip to content

Commit 1b271d1

Browse files
committed
tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes
The LLVM backend now emits `noundef zeroext` on `i8` return values and `noundef` on `i8` parameters. Update the FileCheck pattern to match.
1 parent 6eda741 commit 1b271d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/codegen-llvm/bpf-alu32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#[no_mangle]
77
#[target_feature(enable = "alu32")]
8-
// CHECK: define i8 @foo(i8 returned %arg) unnamed_addr #0 {
8+
// CHECK: define noundef zeroext i8 @foo(i8 noundef returned %arg) unnamed_addr #0 {
99
pub unsafe fn foo(arg: u8) -> u8 {
1010
arg
1111
}

0 commit comments

Comments
 (0)