forked from OSchip/llvm-project
parent
12f91befce
commit
5b5a043d82
|
@ -126,10 +126,6 @@ static void DeleteDeadInstruction(Instruction *I, ScalarEvolution &SE) {
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue