From: Dehao Chen Date: Sat, 18 Feb 2017 06:42:16 +0000 (+0000) Subject: Add default OptLevel value for createSimpleLoopUnrollPass to fix the build break... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ded4c316a44ec528a4f40a0b88e0089fd59b96d;p=llvm Add default OptLevel value for createSimpleLoopUnrollPass to fix the build break introduced by r295538. (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295542 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 237975216f0..dbf76c3bbee 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -185,7 +185,7 @@ Pass *createLoopUnrollPass(int OptLevel = 2, int Threshold = -1, int Count = -1, 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); //===----------------------------------------------------------------------===// //