assert(0) -> LLVM_UNREACHABLE.
[oota-llvm.git] / lib / Target / CellSPU / SPUISelDAGToDAG.cpp
index f9801d53494dc2d2f152b5ba8fca9294c35fed44..ddb9a36885eafea946f4c20c3d800d1ee2f342e6 100644 (file)
@@ -378,7 +378,7 @@ namespace {
         break;
       case 'v':   // not offsetable
 #if 1
-        assert(0 && "InlineAsmMemoryOperand 'v' constraint not handled.");
+        LLVM_UNREACHABLE("InlineAsmMemoryOperand 'v' constraint not handled.");
 #else
         SelectAddrIdxOnly(Op, Op, Op0, Op1);
 #endif