leonardchan marked an inline comment as done.
leonardchan added inline comments.
================
Comment at: llvm/lib/Passes/PassBuilder.cpp:435
if (Level.getSpeedupLevel() > 1) {
- FPM.addPass(SpeculativeExecutionPass());
+ FPM.addPass(SpeculativeExecutionIfHasBranchDivergencePass());
----------------
arsenm wrote:
> I don't expect this to be a separate pass, just added based on a divergent
> target
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.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76389/new/
https://reviews.llvm.org/D76389
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits