[PATCH] D30580: AMDGPU: Add GCCBuiltin for ds_permute ds_bpermute

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 12:16:49 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL297406: AMDGPU: Add GCCBuiltin for ds_permute ds_bpermute (authored by yaxunl).

Changed prior to commit:
  https://reviews.llvm.org/D30580?vs=90493&id=91207#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30580

Files:
  llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td


Index: llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
===================================================================
--- llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
+++ llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -666,10 +666,12 @@
 
 // llvm.amdgcn.ds.permute <index> <src>
 def int_amdgcn_ds_permute :
+  GCCBuiltin<"__builtin_amdgcn_ds_permute">,
   Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem, IntrConvergent]>;
 
 // llvm.amdgcn.ds.bpermute <index> <src>
 def int_amdgcn_ds_bpermute :
+  GCCBuiltin<"__builtin_amdgcn_ds_bpermute">,
   Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem, IntrConvergent]>;
 
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30580.91207.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170309/0f8ff657/attachment.bin>


More information about the llvm-commits mailing list