Bug#826749: clang: enable FPXX for o32 by default

YunQiang Su wzssyqa at gmail.com
Wed Jun 8 15:49:17 UTC 2016


Package: src:llvm-toolchain-snapshot

We are working on moving all packages mips/mipsel built with fpxx-enabled
by default.

While, now fpxx is not enabled by default in clang.
So please apply the attached patch to 3.5/3.6/3.7/3.8/snapshot.

About FPXX and the transaction, please see:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825342

-- 
YunQiang Su
-------------- next part --------------
Index: b/clang/lib/Driver/Tools.cpp
===================================================================
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -6032,10 +6032,6 @@ bool mips::isNaN2008(const ArgList &Args
 
 bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
                          StringRef ABIName, StringRef FloatABI) {
-  if (Triple.getVendor() != llvm::Triple::ImaginationTechnologies &&
-      Triple.getVendor() != llvm::Triple::MipsTechnologies)
-    return false;
-
   if (ABIName != "32")
     return false;
 


More information about the Pkg-llvm-team mailing list