[llvm] r258099 - Fixed MSVC warning that not all control paths return a value.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 14:54:46 PST 2016
Author: rksimon
Date: Mon Jan 18 16:54:46 2016
New Revision: 258099
URL: http://llvm.org/viewvc/llvm-project?rev=258099&view=rev
Log:
Fixed MSVC warning that not all control paths return a value.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=258099&r1=258098&r2=258099&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Mon Jan 18 16:54:46 2016
@@ -1257,6 +1257,7 @@ bool TargetLowering::isExtendedTrueVal(c
case TargetLowering::ZeroOrNegativeOneBooleanContent:
return N->isAllOnesValue() && SExt;
}
+ llvm_unreachable("Unexpected enumeration.");
}
/// Try to simplify a setcc built with the specified operands and cc. If it is
More information about the llvm-commits
mailing list