summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/CallingConvLower.h
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
commit5f33cbc414937eb39cefb031c2e5b11be8dc9237 (patch)
treeff58d9a1901afbdbe398c2d7b2e3b0deb72d6a10 /include/llvm/CodeGen/CallingConvLower.h
parentabcf5f971afe579e9cd2d0e03189e0ac318d9ba9 (diff)
downloadllvm-5f33cbc414937eb39cefb031c2e5b11be8dc9237.tar.gz
llvm-5f33cbc414937eb39cefb031c2e5b11be8dc9237.tar.bz2
llvm-5f33cbc414937eb39cefb031c2e5b11be8dc9237.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h
index a18f433bda..f824e73433 100644
--- a/include/llvm/CodeGen/CallingConvLower.h
+++ b/include/llvm/CodeGen/CallingConvLower.h
@@ -39,6 +39,7 @@ public:
VExt, // The value is vector-widened in the location.
// FIXME: Not implemented yet. Code that uses AExt to mean
// vector-widen should be fixed to use VExt instead.
+ FPExt, // The floating-point value is fp-extended in the location.
Indirect // The location contains pointer to the value.
// TODO: a subset of the value is in the location.
};