From b033f67df0773ccc2565638df3ff3cf9f821629e Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Tue, 15 Dec 2015 12:19:34 +0000 Subject: Define a feature for __float128 support in the PPC back end This patch corresponds to review: http://reviews.llvm.org/D15117 In preparation for supporting IEEE Quad precision floating point, this patch simply defines a feature to specify the target supports this. For now, nothing is done with the target feature, we just don't want warnings from the Clang FE when a user specifies -mfloat128. Calling convention and other related work will add to this patch in the near future. llvm-svn: 255642 --- llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp') diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index 89bbcf78346..c0fcb6cbb9d 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp @@ -102,6 +102,7 @@ void PPCSubtarget::initializeEnvironment() { IsQPXStackUnaligned = false; HasHTM = false; HasFusion = false; + HasFloat128 = false; } void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { -- cgit v1.2.3