From caffb8c04f5f09737ea62211e02fbe892259dc85 Mon Sep 17 00:00:00 2001 From: Junjie Gu Date: Wed, 13 Apr 2011 16:45:49 +0000 Subject: [PATCH] Fixed the revision 129449. llvm-svn: 129450 --- lib/Transforms/Scalar/LoopUnrollPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LoopUnrollPass.cpp b/lib/Transforms/Scalar/LoopUnrollPass.cpp index e93cf0454ef..8d925bcbdda 100644 --- a/lib/Transforms/Scalar/LoopUnrollPass.cpp +++ b/lib/Transforms/Scalar/LoopUnrollPass.cpp @@ -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.