[llvm] r295542 - Add default OptLevel value for createSimpleLoopUnrollPass to fix the build break introduced by r295538. (NFC)
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 22:42:17 PST 2017
Author: dehao
Date: Sat Feb 18 00:42:16 2017
New Revision: 295542
URL: http://llvm.org/viewvc/llvm-project?rev=295542&view=rev
Log:
Add default OptLevel value for createSimpleLoopUnrollPass to fix the build break introduced by r295538. (NFC)
Modified:
llvm/trunk/include/llvm/Transforms/Scalar.h
Modified: llvm/trunk/include/llvm/Transforms/Scalar.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar.h?rev=295542&r1=295541&r2=295542&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Scalar.h (original)
+++ llvm/trunk/include/llvm/Transforms/Scalar.h Sat Feb 18 00:42:16 2017
@@ -185,7 +185,7 @@ Pass *createLoopUnrollPass(int OptLevel
int AllowPartial = -1, int Runtime = -1,
int UpperBound = -1);
// Create an unrolling pass for full unrolling that uses exact trip count only.
-Pass *createSimpleLoopUnrollPass(int OptLevel);
+Pass *createSimpleLoopUnrollPass(int OptLevel = 2);
//===----------------------------------------------------------------------===//
//
More information about the llvm-commits
mailing list