[clang] [llvm] [NVPTX] Revamp NVVMIntrRange pass (PR #94422)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 09:36:56 PDT 2024


================
@@ -6,21 +6,21 @@
 __attribute__((global))
 void kernel(int *out) {
   int i = 0;
-  out[i++] = threadIdx.x; // CHECK: call noundef i32 @llvm.nvvm.read.ptx.sreg.tid.x()
-  out[i++] = threadIdx.y; // CHECK: call noundef i32 @llvm.nvvm.read.ptx.sreg.tid.y()
-  out[i++] = threadIdx.z; // CHECK: call noundef i32 @llvm.nvvm.read.ptx.sreg.tid.z()
+  out[i++] = threadIdx.x; // CHECK: call noundef {{.*}} i32 @llvm.nvvm.read.ptx.sreg.tid.x()
----------------
dyung wrote:

@AlexMaclean can you either fix the test or revert the change so that we can get the failing bots green again please?

https://github.com/llvm/llvm-project/pull/94422


More information about the llvm-commits mailing list