diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-07-11 17:23:17 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-07-11 17:23:17 +0000 |
commit | ae51b30c43767aa0e7ec1a86ff8dec42642153c1 (patch) | |
tree | 30aa0e9f798972f90aa9453287ddf55d3b692d3a | |
parent | 5cd95e1478ddb8f3f1efde56a1cd2db47b312d72 (diff) |
[x86 fast-isel] Rather then call llvm_unreachable() have fast-isel fall back
to Selection DAG isel. Patch by Andrew Kaylor <andrew.kaylor@intel.com>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160055 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index f12742a525..b410a6743d 100644 --- a/lib/Target/X86/X86FastISel.cpp +++ b/lib/Target/X86/X86FastISel.cpp @@ -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() && |