[PATCH] D18626: [PM] Add a SpeculativeExecution pass for targets with divergent branches.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 15:32:58 PDT 2016


tra added inline comments.

================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:238
@@ -237,1 +237,3 @@
+  // Speculative execution if the target has divergent branches; otherwise nop.
+  MPM.add(createSpeculativeExecutionIfHasBranchDivergencePass());
   MPM.add(createJumpThreadingPass());         // Thread jumps.
----------------
joker.eph wrote:
> joker.eph wrote:
> > Where is it defined? I can't find in my tree.
> Found D18625 (added as dependency for this patch)
http://reviews.llvm.org/D18625


http://reviews.llvm.org/D18626





More information about the llvm-commits mailing list