r190294 - Additional fix for PR16752 and for commit 190044:
Stepan Dyatkovskiy
stpworld at narod.ru
Mon Sep 9 00:46:55 PDT 2013
Author: dyatkovskiy
Date: Mon Sep 9 02:46:54 2013
New Revision: 190294
URL: http://llvm.org/viewvc/llvm-project?rev=190294&view=rev
Log:
Additional fix for PR16752 and for commit 190044:
-- For TargetInfo::getRealTypeByWidth also added support for IEEEQuad float type.
Modified:
cfe/trunk/lib/Basic/TargetInfo.cpp
Modified: cfe/trunk/lib/Basic/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/TargetInfo.cpp?rev=190294&r1=190293&r2=190294&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/TargetInfo.cpp (original)
+++ cfe/trunk/lib/Basic/TargetInfo.cpp Mon Sep 9 02:46:54 2013
@@ -178,7 +178,8 @@ TargetInfo::RealType TargetInfo::getReal
return LongDouble;
break;
case 128:
- if (&getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble)
+ if (&getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble ||
+ &getLongDoubleFormat() == &llvm::APFloat::IEEEquad)
return LongDouble;
break;
}
More information about the cfe-commits
mailing list