summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreLowerThreadLocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/XCore/XCoreLowerThreadLocal.cpp')
-rw-r--r--lib/Target/XCore/XCoreLowerThreadLocal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreLowerThreadLocal.cpp b/lib/Target/XCore/XCoreLowerThreadLocal.cpp
index 5a83282514..3c90a54cc9 100644
--- a/lib/Target/XCore/XCoreLowerThreadLocal.cpp
+++ b/lib/Target/XCore/XCoreLowerThreadLocal.cpp
@@ -122,6 +122,7 @@ createReplacementInstr(ConstantExpr *CE, Instruction *Instr) {
default:
assert(0 && "Unhandled constant expression!\n");
}
+ llvm_unreachable("Unhandled constant expression!\n");
}
static bool replaceConstantExprOp(ConstantExpr *CE) {