The SpeculativeExecutionPass was running under the new PM for non-GPU targets. It appears that the pass would run regardless as long as speed optimizations were available. Run the Speculative Execution Pass only if the target has divergent branches.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Passes/PassBuilder.cpp | ||
---|---|---|
443 | Updated such that the current pass is used, although it's a bit more difficult to test since the same pass name will appear when dumping the passes. |
Comment Actions
I haven't rebased in a while, but D82735 covers this. Abandoning since this is addressed in that patch.
I don't expect this to be a separate pass, just added based on a divergent target