[x86 fast-isel] Rather then call llvm_unreachable() have fast-isel fall back
[oota-llvm.git] / lib / Target / X86 / X86FastISel.cpp
index f12742a5250deabae0658647f7a5b5479cd88c23..b410a6743dded66eda719aa01f408a1e079d2337 100644 (file)
@@ -1693,7 +1693,7 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {
 
     // Promote the value if needed.
     switch (VA.getLocInfo()) {
-    default: llvm_unreachable("Unknown loc info!");
+    default: return false;
     case CCValAssign::Full: break;
     case CCValAssign::SExt: {
       assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() &&