Create a speculative-execution pass that runs only with branch divergence.
Declared in <llvm/Transforms/Scalar.h>
FunctionPass*
createSpeculativeExecutionIfHasBranchDivergencePass();
Same as createSpeculativeExecutionPass, but does nothing unless TargetTransformInfo::hasBranchDivergence() is true.
The newly created FunctionPass.