From 7133b85b877f16f5214b379ae7cf6d7281d3deeb 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129450 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.