mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
REmove huge hack used by register allocator
llvm-svn: 1694
This commit is contained in:
parent
c457462f99
commit
473793df61
@ -31,15 +31,3 @@ void cfg::LoopDepthCalculator::getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
|
|||||||
Requires.push_back(LoopInfo::ID);
|
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
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user