summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGRTTI.cpp
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-04-17 02:26:26 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-04-17 02:26:26 +0000
commit6667ef7d81ca0bb4e0800cb3e722522a4adac48a (patch)
tree08b08894d9bb72c34186d71a45bdfd14a565e459 /lib/CodeGen/CGRTTI.cpp
parent13e47c43584d00bb656d62c2125ba5b1ebbbf1f2 (diff)
downloadclang-6667ef7d81ca0bb4e0800cb3e722522a4adac48a.tar.gz
clang-6667ef7d81ca0bb4e0800cb3e722522a4adac48a.tar.bz2
clang-6667ef7d81ca0bb4e0800cb3e722522a4adac48a.tar.xz
Adding type info for f16c floating-point type. This is consistent with the
Itanium ABI in 2.9.2 Place of Emission. Differential Revision: http://reviews.llvm.org/D2750 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRTTI.cpp')
-rw-r--r--lib/CodeGen/CGRTTI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGRTTI.cpp b/lib/CodeGen/CGRTTI.cpp
index 7049df7f78..04523bc08b 100644
--- a/lib/CodeGen/CGRTTI.cpp
+++ b/lib/CodeGen/CGRTTI.cpp
@@ -984,7 +984,8 @@ void CodeGenModule::EmitFundamentalRTTIDescriptors() {
Context.UnsignedShortTy, Context.IntTy,
Context.UnsignedIntTy, Context.LongTy,
Context.UnsignedLongTy, Context.LongLongTy,
- Context.UnsignedLongLongTy, Context.FloatTy,
+ Context.UnsignedLongLongTy,
+ Context.HalfTy, Context.FloatTy,
Context.DoubleTy, Context.LongDoubleTy,
Context.Char16Ty, Context.Char32Ty };
for (unsigned i = 0; i < llvm::array_lengthof(FundamentalTypes); ++i)