[llvm-commits] [llvm] r129450 - /llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
Junjie Gu
jgu222 at gmail.com
Wed Apr 13 09:45:49 PDT 2011
Author: jugu
Date: Wed Apr 13 11:45:49 2011
New Revision: 129450
URL: http://llvm.org/viewvc/llvm-project?rev=129450&view=rev
Log:
Fixed the revision 129449.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp?rev=129450&r1=129449&r2=129450&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp Wed Apr 13 11:45:49 2011
@@ -97,7 +97,7 @@
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.
More information about the llvm-commits
mailing list