From: Stepan Dyatkovskiy Date: Mon, 9 Sep 2013 07:46:54 +0000 (+0000) Subject: Additional fix for PR16752 and for commit 190044: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35451d9a00b2a3b40689f6e4d4e259a6d786b395;p=clang Additional fix for PR16752 and for commit 190044: -- For TargetInfo::getRealTypeByWidth also added support for IEEEQuad float type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190294 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 94d90d366e..20ec599960 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -178,7 +178,8 @@ TargetInfo::RealType TargetInfo::getRealTypeByWidth(unsigned BitWidth) const { return LongDouble; break; case 128: - if (&getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble) + if (&getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble || + &getLongDoubleFormat() == &llvm::APFloat::IEEEquad) return LongDouble; break; }