diff options
| author | Craig Topper <craig.topper@gmail.com> | 2015-01-05 10:15:49 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2015-01-05 10:15:49 +0000 |
| commit | d3c02f177a878167f7155d1cc3967bdf681ae36d (patch) | |
| tree | 956b82b101c43f1e38dfdeacc570b022737b09aa /llvm/lib/CodeGen/SelectionDAG | |
| parent | 40c1b352921c8a3fb3718b8015243121bb32b986 (diff) | |
| download | bcm5719-llvm-d3c02f177a878167f7155d1cc3967bdf681ae36d.tar.gz bcm5719-llvm-d3c02f177a878167f7155d1cc3967bdf681ae36d.zip | |
Replace several 'assert(false' with 'llvm_unreachable' or fold a condition into the assert.
llvm-svn: 225160
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 5a6ea8e6810..74769e54f8a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -9735,7 +9735,7 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode* St) { } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Val)) { StoreInt|= C->getValueAPF().bitcastToAPInt().zext(StoreBW); } else { - assert(false && "Invalid constant element type"); + llvm_unreachable("Invalid constant element type"); } } |

