[llvm] r227614 - Silence "not all paths return a value" warning in MSVC
Reid Kleckner
reid at kleckner.net
Fri Jan 30 13:30:57 PST 2015
Author: rnk
Date: Fri Jan 30 15:30:57 2015
New Revision: 227614
URL: http://llvm.org/viewvc/llvm-project?rev=227614&view=rev
Log:
Silence "not all paths return a value" warning in MSVC
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=227614&r1=227613&r2=227614&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Fri Jan 30 15:30:57 2015
@@ -746,6 +746,7 @@ public:
case IK_NoInduction:
return nullptr;
}
+ llvm_unreachable("invalid enum");
}
/// Start value.
More information about the llvm-commits
mailing list