Initialze ScalarEvalution dependency.

Patch by Pranav Bhandarkar!

llvm-svn: 142556
This commit is contained in:
Devang Patel 2011-10-19 23:56:07 +00:00
parent 057c12c2a0
commit f46908afb4

View File

@ -101,6 +101,7 @@ INITIALIZE_PASS_BEGIN(LoopUnroll, "loop-unroll", "Unroll loops", false, false)
INITIALIZE_PASS_DEPENDENCY(LoopInfo)
INITIALIZE_PASS_DEPENDENCY(LoopSimplify)
INITIALIZE_PASS_DEPENDENCY(LCSSA)
INITIALIZE_PASS_DEPENDENCY(ScalarEvolution)
INITIALIZE_PASS_END(LoopUnroll, "loop-unroll", "Unroll loops", false, false)
Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) {