From: Aaron Ballman Date: Mon, 9 Sep 2013 13:22:45 +0000 (+0000) Subject: Silencing a warning about control flow reaching the end of a non-void function. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4220bb24f55dd13c482ebc1358facde213ec95f6;p=oota-llvm.git 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 --- diff --git a/lib/Target/XCore/XCoreLowerThreadLocal.cpp b/lib/Target/XCore/XCoreLowerThreadLocal.cpp index 5a832825148..3c90a54cc94 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) {