[PATCH] D17657: [NVPTX] Add intrinsics to support named barriers.

Arpith Jacob via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 27 10:03:12 PST 2016


arpith-jacob marked an inline comment as done.

================
Comment at: include/llvm/IR/IntrinsicsNVVM.td:743
@@ -740,1 +742,3 @@
+  def int_nvvm_barrier : GCCBuiltin<"__nvvm_bar">,
+      Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], [IntrNoDuplicate, IntrConvergent]>;
   def int_nvvm_barrier0_popc : GCCBuiltin<"__nvvm_bar0_popc">,
----------------
Done.  Thanks for the explanation; makes sense.  When you do remove noduplicate, please go ahead and remove it for named barriers as well.  Thanks!


http://reviews.llvm.org/D17657





More information about the llvm-commits mailing list