summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-01-14 19:56:36 +0000
committerLang Hames <lhames@gmail.com>2014-01-14 19:56:36 +0000
commit06234ec147e4018023ccb08d075ec30c1d5ed0b6 (patch)
tree0b9832aeaf79fd86fba9c5a0c795c82d6b6086b3 /llvm/lib/Target/X86/X86FastISel.cpp
parent4746a90d667dcb8a7edc6484eab22242fc4aace9 (diff)
downloadbcm5719-llvm-06234ec147e4018023ccb08d075ec30c1d5ed0b6.tar.gz
bcm5719-llvm-06234ec147e4018023ccb08d075ec30c1d5ed0b6.zip
Add FPExt option to CCValAssign::LocInfo. When generating calling-convention
promotion code, Tablegen will now select FPExt for floating point promotions (previously it had returned AExt, which is not valid for floating point types). Any out-of-tree targets that were relying on AExt being returned for FP promotions will need to update their code check for FPExt instead. llvm-svn: 199252
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 7b2d1d7776f..9fdc58a3116 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -2111,6 +2111,8 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {
// FIXME: Indirect doesn't need extending, but fast-isel doesn't fully
// support this.
return false;
+ case CCValAssign::FPExt:
+ llvm_unreachable("Unexpected loc info!");
}
if (VA.isRegLoc()) {
OpenPOWER on IntegriCloud