diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 167bf5fbb82..b7c1ac58eae 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -1223,8 +1223,8 @@ namespace { return LV > RV; else return ALV < ARV; - } else - return (LHSC && !RHSC); + } + return (LHSC && !RHSC); } }; }