[clang] [llvm] [NVPTX] Add NVVMUpgradeAnnotations pass to cleanup legacy annotations (PR #119261)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 11:21:36 PST 2024
================
@@ -10,7 +10,7 @@
extern "C"
__device__ void device_function() {}
-// CHECK-LABEL: define{{.*}} void @global_function
+// CHECK: define{{.*}} void @global_function{{.*}} #[[ATTR0:[0-9]+]]
----------------
Artem-B wrote:
It should still be `CHECK-LABEL`
You could split attribute matching into the following `CHECK-SAME`
Or we could just switch to autogenerated checks.
https://github.com/llvm/llvm-project/pull/119261
More information about the llvm-commits
mailing list