[llvm] 63eb004 - VPlanRecipes.cpp - fix "not all control paths return a value" MSVC warning
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun May 25 07:16:43 PDT 2025
Author: Simon Pilgrim
Date: 2025-05-25T15:16:01+01:00
New Revision: 63eb00483fe97bbf6b7f26d1827b777518544e8f
URL: https://github.com/llvm/llvm-project/commit/63eb00483fe97bbf6b7f26d1827b777518544e8f
DIFF: https://github.com/llvm/llvm-project/commit/63eb00483fe97bbf6b7f26d1827b777518544e8f.diff
LOG: VPlanRecipes.cpp - fix "not all control paths return a value" MSVC warning
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
index 26176e7859d74..18229780bc4a5 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -1608,6 +1608,7 @@ bool VPIRFlags::flagsValidForOpcode(unsigned Opcode) const {
case OperationType::Other:
return true;
}
+ llvm_unreachable("Unknown OperationType enum");
}
#endif
More information about the llvm-commits
mailing list