summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-01-18 22:54:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-01-18 22:54:46 +0000
commitc4d519d3409f59a4f948b9fe77f8b07bb36af79e (patch)
tree3542eaeee1852420faa9d4b961ead654f5b6f4b4 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent3c95377eb1fa2f057264a99a4fa8f7add76c2d76 (diff)
downloadbcm5719-llvm-c4d519d3409f59a4f948b9fe77f8b07bb36af79e.tar.gz
bcm5719-llvm-c4d519d3409f59a4f948b9fe77f8b07bb36af79e.zip
Fixed MSVC warning that not all control paths return a value.
llvm-svn: 258099
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 8c5ddeed6b1..bde63db939b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1257,6 +1257,7 @@ bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT,
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
OpenPOWER on IntegriCloud