diff options
author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-04-17 02:26:26 +0000 |
---|---|---|
committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-04-17 02:26:26 +0000 |
commit | 06770f938116120bf7dee13a76b78dd56d8b3bc6 (patch) | |
tree | be6dd67ee1b7ba29c522737577e34958356b74a2 /clang/lib/CodeGen/CGRTTI.cpp | |
parent | 033135c5eb56e45938859d3ac8246349a41a5fba (diff) | |
download | bcm5719-llvm-06770f938116120bf7dee13a76b78dd56d8b3bc6.tar.gz bcm5719-llvm-06770f938116120bf7dee13a76b78dd56d8b3bc6.zip |
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
llvm-svn: 206439
Diffstat (limited to 'clang/lib/CodeGen/CGRTTI.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGRTTI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGRTTI.cpp b/clang/lib/CodeGen/CGRTTI.cpp index 7049df7f78a..04523bc08ba 100644 --- a/clang/lib/CodeGen/CGRTTI.cpp +++ b/clang/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) |