[PATCH] D54021: [LoopSimplifyCFG] Teach LoopSimplifyCFG to constant-fold branches and switches
Artur Pilipenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 7 12:04:04 PST 2018
apilipenko added inline comments.
================
Comment at: lib/Transforms/Scalar/LoopSimplifyCFG.cpp:114-115
+ dbgs() << "Blocks in which we can constant-fold terminator:\n";
+ for (const BasicBlock *BB : FoldCandidates)
+ dbgs() << "\t" << BB->getName() << "\n";
+ dbgs() << "Live blocks from the original loop:\n";
----------------
Minor. Extract a local lambda?
https://reviews.llvm.org/D54021
More information about the llvm-commits
mailing list