Skip to content

Commit 881aa2d

Browse files
committed
Adjust NVPTX ABI test for LLVM 20
LLVM 20 prints additional .ptr .align 4 annotations.
1 parent ae6ea0e commit 881aa2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub unsafe extern "ptx-kernel" fn f_float_array_arg(_a: [f32; 5]) {}
242242
//pub unsafe extern "ptx-kernel" fn f_u128_array_arg(_a: [u128; 5]) {}
243243

244244
// CHECK: .visible .entry f_u32_slice_arg(
245-
// CHECK: .param .u64 f_u32_slice_arg_param_0
245+
// CHECK: .param .u64 {{(\.ptr \.align 4 )?}}f_u32_slice_arg_param_0
246246
// CHECK: .param .u64 f_u32_slice_arg_param_1
247247
#[no_mangle]
248248
pub unsafe extern "ptx-kernel" fn f_u32_slice_arg(_a: &[u32]) {}

0 commit comments

Comments
 (0)