[PowerPC] The __float128 type should only be available on Power9
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 13 Jun 2018 16:05:05 +0000 (16:05 +0000)
committerStefan Pintilie <stefanp@ca.ibm.com>
Wed, 13 Jun 2018 16:05:05 +0000 (16:05 +0000)
commita6ce3fe72b5cd32bf5e3a139b3cc6844bf0cc715
tree14c38705f824baf9886eebd8a88aab1affb2be60
parentcffb235afe4144b392229de54d357ebb9dc3059a
[PowerPC] The __float128 type should only be available on Power9

Diasble the use of the type __float128 for PPC machines older
than Power9.

The use of -mfloat128 for PPC machine older than Power9 will result
in an error.

Differential Revision: https://reviews.llvm.org/D48088

llvm-svn: 334613
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/test/Driver/ppc-f128-support-check.c [new file with mode: 0644]
clang/test/Preprocessor/init.c
clang/test/Sema/float128-ld-incompatibility.cpp