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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 15:31:35 PDT 2016


joker.eph 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.
----------------
Where is it defined? I can't find in my tree.


http://reviews.llvm.org/D18626





More information about the llvm-commits mailing list