aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/XCore/XCoreLowerThreadLocal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/XCore/XCoreLowerThreadLocal.cpp b/lib/Target/XCore/XCoreLowerThreadLocal.cpp
index 3c90a54..7340b2f 100644
--- a/lib/Target/XCore/XCoreLowerThreadLocal.cpp
+++ b/lib/Target/XCore/XCoreLowerThreadLocal.cpp
@@ -120,9 +120,8 @@ createReplacementInstr(ConstantExpr *CE, Instruction *Instr) {
CE->getOperand(0), CE->getType(),
CE->getName()));
default:
- assert(0 && "Unhandled constant expression!\n");
+ llvm_unreachable("Unhandled constant expression!\n");
}
- llvm_unreachable("Unhandled constant expression!\n");
}
static bool replaceConstantExprOp(ConstantExpr *CE) {