[llvm] [NVPTX] Add tex.grad.cube{array} intrinsics (PR #77693)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 10:41:21 PST 2024


================
@@ -353,8 +364,9 @@ def gen_sust_tests(target, global_surf):
     ret void
   }
   ; CHECK-LABEL: .entry ${test_name}_global
-  ; CHECK: ${instruction} [${global_surf}, ${reg_access}], ${reg_value}
-  ;
+  ; CHECK-CUDA: mov.u64 [[REG${reg_id}:%.*]], ${global_surf}
+  ; CHECK-CUDA: ${instruction} [[[REG${reg_id}]], ${reg_access}], ${reg_value}
----------------
Artem-B wrote:

I wonder why we end up with an extra `mov` for CUDA, but not openCL. 
The issue is cosmetic, and is not a blocker for this patch.

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


More information about the llvm-commits mailing list