summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-02-05 08:31:47 +0000
committerCraig Topper <craig.topper@gmail.com>2012-02-05 08:31:47 +0000
commitee4dab5f1f7a0c32167b8b91c5733e77d4d88dcc (patch)
tree7b4e14db824575afe72d6a34318487575bc7407b /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parentebd90c58e6d2b9aff85a4bd8ee9e98acbbbf4cb0 (diff)
downloadbcm5719-llvm-ee4dab5f1f7a0c32167b8b91c5733e77d4d88dcc.tar.gz
bcm5719-llvm-ee4dab5f1f7a0c32167b8b91c5733e77d4d88dcc.zip
Convert assert(0) to llvm_unreachable
llvm-svn: 149816
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 4696c0d7546..3ae8345bd19 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -141,7 +141,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
EVT ValVT = ST->getValue().getValueType();
if (StVT.isVector() && ST->isTruncatingStore())
switch (TLI.getTruncStoreAction(ValVT, StVT)) {
- default: assert(0 && "This action is not supported yet!");
+ default: llvm_unreachable("This action is not supported yet!");
case TargetLowering::Legal:
return TranslateLegalizeResults(Op, Result);
case TargetLowering::Custom:
OpenPOWER on IntegriCloud