We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8e1c5 commit 4f246e4Copy full SHA for 4f246e4
tests/assembly/nvptx-safe-naming.rs
@@ -1,6 +1,9 @@
1
//@ assembly-output: ptx-linker
2
//@ compile-flags: --crate-type cdylib -Z unstable-options -Clinker-flavor=llbc
3
//@ only-nvptx64
4
+//@ revisions: LLVM20 LLVM21
5
+//@ [LLVM21] min-llvm-version: 21
6
+//@ [LLVM20] max-llvm-major-version: 20
7
8
#![feature(abi_ptx)]
9
#![no_std]
@@ -15,7 +18,8 @@ extern crate breakpoint_panic_handler;
15
18
#[no_mangle]
16
19
pub unsafe extern "ptx-kernel" fn top_kernel(a: *const u32, b: *mut u32) {
17
20
// CHECK: call.uni (retval0),
- // CHECK-NEXT: [[IMPL_FN]]
21
+ // LLVM20-NEXT: [[IMPL_FN]]
22
+ // LLVM21-SAME: [[IMPL_FN]]
23
*b = deep::private::MyStruct::new(*a).square();
24
}
25
0 commit comments