From: Junjie Gu Date: Wed, 13 Apr 2011 16:45:49 +0000 (+0000) Subject: Fixed the revision 129449. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7133b85b877f16f5214b379ae7cf6d7281d3deeb;p=oota-llvm.git Fixed the revision 129449. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129450 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.