Fixed the revision 129449.
authorJunjie Gu <jgu222@gmail.com>
Wed, 13 Apr 2011 16:45:49 +0000 (16:45 +0000)
committerJunjie Gu <jgu222@gmail.com>
Wed, 13 Apr 2011 16:45:49 +0000 (16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129450 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopUnrollPass.cpp

index e93cf0454efeeec5a44ef15175c17f5baff8a622..8d925bcbddaf1e3aa10955cdab16c2b4253970c9 100644 (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.