Skip to content

Commit 3246a32

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent d2856ff commit 3246a32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6947,6 +6947,7 @@ static bool ReduceLoopStrength(Loop *L, IVUsers &IU, ScalarEvolution &SE,
69476947
case cl::BOU_UNSET:
69486948
return TTI.shouldFoldTerminatingConditionAfterLSR();
69496949
}
6950+
llvm_unreachable("Unhandled cl::boolOrDefault enum");
69506951
}();
69516952

69526953
if (EnableFormTerm) {

0 commit comments

Comments
 (0)