forked from OSchip/llvm-project
Additional fix for PR16752 and for commit 190044:
-- For TargetInfo::getRealTypeByWidth also added support for IEEEQuad float type. llvm-svn: 190294
This commit is contained in:
parent
4abe0a8d82
commit
a4a59d7468
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue