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:
3e0f828
)
REmove huge hack used by register allocator
author
Chris Lattner
<sabre@nondot.org>
Mon, 4 Feb 2002 17:39:02 +0000
(17:39 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 4 Feb 2002 17:39:02 +0000
(17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1694
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LoopDepth.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LoopDepth.cpp
b/lib/Analysis/LoopDepth.cpp
index e265837a4765cbd360ce9b0316b242fd4b4d45f2..03b81b931225d1cd666947781db98df45142d45b 100644
(file)
--- a/
lib/Analysis/LoopDepth.cpp
+++ b/
lib/Analysis/LoopDepth.cpp
@@
-31,15
+31,3
@@
void cfg::LoopDepthCalculator::getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
Requires.push_back(LoopInfo::ID);
}
-#if 1 /// FIXME, REMOVE EVENTUALLY
-#include "llvm/PassManager.h"
-
-cfg::LoopDepthCalculator::LoopDepthCalculator(Method *M) {
- PassManagerT<Method> PassMgr;
- LoopInfo *LI = new LoopInfo(LoopInfo::ID);
- PassMgr.add(LI);
- PassMgr.run(M);
- calculate(M, *LI);
-}
-#endif
-