[PowerPC] Enable soft-float for PPC64, and +soft-float -> -hard-float
authorHal Finkel <hfinkel@anl.gov>
Sun, 2 Oct 2016 02:10:45 +0000 (02:10 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 2 Oct 2016 02:10:45 +0000 (02:10 +0000)
commit415c2a38f251a74e83dc910058eddaddb63458d4
tree96ad9d8a4acc6b9868b91a7efb653e2f5e4c5c05
parenta9321059b912155cd81cf0776d54a7d6838ef7ab
[PowerPC] Enable soft-float for PPC64, and +soft-float -> -hard-float

Enable soft-float support on PPC64, as the backend now supports it. Also, the
backend now uses -hard-float instead of +soft-float, so set the target features
accordingly.

Fixes PR26970.

llvm-svn: 283061
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/Tools.cpp
clang/test/CodeGen/ppc64-soft-float.c [new file with mode: 0644]
clang/test/Driver/ppc-features.cpp