Skip to content

Commit

Permalink
Adjust NVPTX ABI test for LLVM 20
Browse files Browse the repository at this point in the history
LLVM 20 prints additional .ptr .align 4 annotations.
  • Loading branch information
nikic committed Jan 30, 2025
1 parent ae6ea0e commit 881aa2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ pub unsafe extern "ptx-kernel" fn f_float_array_arg(_a: [f32; 5]) {}
//pub unsafe extern "ptx-kernel" fn f_u128_array_arg(_a: [u128; 5]) {}

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

0 comments on commit 881aa2d

Please sign in to comment.