[PATCH] D17318: [NVPTX] Annotate convergent intrinsics as convergent.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 17 09:51:28 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL261115: [NVPTX] Annotate convergent intrinsics as convergent. (authored by jlebar).
Changed prior to commit:
http://reviews.llvm.org/D17318?vs=48133&id=48209#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17318
Files:
llvm/trunk/lib/Target/NVPTX/NVPTXIntrinsics.td
Index: llvm/trunk/lib/Target/NVPTX/NVPTXIntrinsics.td
===================================================================
--- llvm/trunk/lib/Target/NVPTX/NVPTXIntrinsics.td
+++ llvm/trunk/lib/Target/NVPTX/NVPTXIntrinsics.td
@@ -32,6 +32,7 @@
//-----------------------------------
// Synchronization Functions
//-----------------------------------
+let isConvergent = 1 in {
def INT_CUDA_SYNCTHREADS : NVPTXInst<(outs), (ins),
"bar.sync \t0;",
[(int_cuda_syncthreads)]>;
@@ -63,6 +64,7 @@
!strconcat("selp.u32 \t$dst, 1, 0, %p2; \n\t",
!strconcat("}}", ""))))))),
[(set Int32Regs:$dst, (int_nvvm_barrier0_or Int32Regs:$pred))]>;
+} // isConvergent = 1
//-----------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17318.48209.patch
Type: text/x-patch
Size: 747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160217/9c104f7b/attachment.bin>
More information about the llvm-commits
mailing list