From 6ded4c316a44ec528a4f40a0b88e0089fd59b96d Mon Sep 17 00:00:00 2001 From: Dehao Chen Date: Sat, 18 Feb 2017 06:42:16 +0000 Subject: [PATCH] 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 --- include/llvm/Transforms/Scalar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); //===----------------------------------------------------------------------===// // -- 2.50.1