[PATCH] D12310: Introducing llvm.invariant.group.barrier intrinsic

Piotr Padlewski via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 23:27:15 PDT 2015


Prazek added inline comments.

================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:1414-1417
@@ -1413,2 +1413,6 @@
     }
+    case Intrinsic::invariant_group_barrier:
+      II->replaceAllUsesWith(II->getArgOperand(0));
+      II->eraseFromParent();
+      return true;
     }
----------------
http://reviews.llvm.org/D12875


http://reviews.llvm.org/D12310





More information about the llvm-commits mailing list