[PATCH] D14898: AMDGPU: Add llvm.amdgcn.dispatch.ptr intrinsic

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 08:53:36 PST 2015


tstellarAMD added inline comments.

================
Comment at: include/llvm/IR/IntrinsicsAMDGPU.td:132
@@ +131,3 @@
+  GCCBuiltin<"__builtin_amdgcn_disaptch_ptr">,
+  Intrinsic<[LLVMQualPointerType<llvm_i8_ty, 2>], [], [IntrNoMem]>;
+
----------------
arsenm wrote:
> Is there a way to mark noalias on the return value?
I added noalias to the declaration and call in the test case and it still selects correctly.  I'll look into this more when adding the clang patch for the builtin.


http://reviews.llvm.org/D14898





More information about the llvm-commits mailing list