From 4220bb24f55dd13c482ebc1358facde213ec95f6 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 9 Sep 2013 13:22:45 +0000 Subject: Silencing a warning about control flow reaching the end of a non-void function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190304 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/XCore/XCoreLowerThreadLocal.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Target/XCore') 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) { -- cgit v1.2.3