Fixed the revision 129449.

llvm-svn: 129450
This commit is contained in:
Junjie Gu 2011-04-13 16:45:49 +00:00
parent 920274b4dd
commit caffb8c04f

View File

@ -97,7 +97,7 @@ INITIALIZE_PASS_DEPENDENCY(LCSSA)
INITIALIZE_PASS_END(LoopUnroll, "loop-unroll", "Unroll loops", false, false)
Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) {
return new LoopUnroll();
return new LoopUnroll(Threshold, Count, AllowPartial);
}
/// ApproximateLoopSize - Approximate the size of the loop.