projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce31fb
)
remove debugging code.
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 Jan 2011 07:37:13 +0000
(07:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 2 Jan 2011 07:37:13 +0000
(07:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122683
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index a2f7b58be1fafdead099e8e828ebfdcaea68b813..e9394cd5c02a93a0c053a5269017a5dd87eb0d7f 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@
-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)