Silencing a warning about control flow reaching the end of a non-void function.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 9 Sep 2013 13:22:45 +0000 (13:22 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 9 Sep 2013 13:22:45 +0000 (13:22 +0000)
llvm-svn: 190304

llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp

index 5a83282..3c90a54 100644 (file)
@@ -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) {