git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122683
91177308-0d34-0410-b5e6-
96231b3b80d8
bool LoopIdiomRecognize::runOnLoop(Loop *L, LPPassManager &LPM) {
CurLoop = L;
bool LoopIdiomRecognize::runOnLoop(Loop *L, LPPassManager &LPM) {
CurLoop = L;
- if (L->getHeader()->getName().startswith("bb29")) {
- errs() << *L->getHeader();
- }
-
// We only look at trivial single basic block loops.
// TODO: eventually support more complex loops, scanning the header.
if (L->getBlocks().size() != 1)
// We only look at trivial single basic block loops.
// TODO: eventually support more complex loops, scanning the header.
if (L->getBlocks().size() != 1)