Add FPExt option to CCValAssign::LocInfo. When generating calling-convention
authorLang Hames <lhames@gmail.com>
Tue, 14 Jan 2014 19:56:36 +0000 (19:56 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 14 Jan 2014 19:56:36 +0000 (19:56 +0000)
commit5f33cbc414937eb39cefb031c2e5b11be8dc9237
treeff58d9a1901afbdbe398c2d7b2e3b0deb72d6a10
parentabcf5f971afe579e9cd2d0e03189e0ac318d9ba9
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199252 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/CallingConvLower.h
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelLowering.cpp
utils/TableGen/CallingConvEmitter.cpp