[llvm] 3228a50 - [SCEV] Fix control flow warning (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 06:04:09 PST 2023
Author: Nikita Popov
Date: 2023-03-03T15:03:51+01:00
New Revision: 3228a501c42ca3a04a5243b309b4a374d8066c86
URL: https://github.com/llvm/llvm-project/commit/3228a501c42ca3a04a5243b309b4a374d8066c86
DIFF: https://github.com/llvm/llvm-project/commit/3228a501c42ca3a04a5243b309b4a374d8066c86.diff
LOG: [SCEV] Fix control flow warning (NFC)
Added:
Modified:
llvm/lib/Analysis/ScalarEvolution.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index d86d04c76416..5da3aaac3c23 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -9817,6 +9817,7 @@ ScalarEvolution::getWithOperands(const SCEV *S,
case scCouldNotCompute:
llvm_unreachable("Attempt to use a SCEVCouldNotCompute object!");
}
+ llvm_unreachable("Unknown SCEV kind!");
}
const SCEV *ScalarEvolution::computeSCEVAtScope(const SCEV *V, const Loop *L) {
More information about the llvm-commits
mailing list