[PATCH] D18625: [Speculation] Add a SpeculativeExecution mode where the pass does nothing unless TTI::hasBranchDivergence() is true.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 14:45:29 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added subscribers: chandlerc, rnk, jingyue, llvm-commits.

This lets us add this pass to the IR pass manager unconditionally; it
will simply not do anything on targets without branch divergence.

http://reviews.llvm.org/D18625

Files:
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  lib/Transforms/Scalar/SpeculativeExecution.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18625.52130.patch
Type: text/x-patch
Size: 4382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160330/13a3bcb9/attachment.bin>


More information about the llvm-commits mailing list