[ItaniumMangle] Mangle long double as __float128 for some Power targets
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Jun 2015 18:05:33 +0000 (18:05 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Jun 2015 18:05:33 +0000 (18:05 +0000)
commit2617ea675666c85aa8353bd8afc8b6d659f33637
treec2c35d2923f90c43d811a420589fa22beaf121d8
parent0ebe35b27897f784df9239cf79d3a4b0674364e8
[ItaniumMangle] Mangle long double as __float128 for some Power targets

GCC mangles long double like __float128 in order to support
compatibility with ABI variants which had a different interpretation of
long double.

This fixes PR23791.

llvm-svn: 239421
clang/include/clang/Basic/TargetInfo.h
clang/lib/AST/ItaniumMangle.cpp
clang/lib/Basic/Targets.cpp
clang/test/CodeGenCXX/mangle-long-double.cpp [new file with mode: 0644]