mips-fpxx-enable
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 13 Oct 2017 21:42:29 +0000 (22:42 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 13 Oct 2017 21:42:29 +0000 (22:42 +0100)
===================================================================

Gbp-Pq: Name mips-fpxx-enable.diff

clang/lib/Driver/Tools.cpp

index f1d4ecbc632e2729274a455798efc6dca2b6897a..11ca035a15f386e1032010ca4ac66b9c8445bb32 100644 (file)
@@ -7326,11 +7326,6 @@ bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
 
 bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
                          StringRef ABIName, mips::FloatABI FloatABI) {
-  if (Triple.getVendor() != llvm::Triple::ImaginationTechnologies &&
-      Triple.getVendor() != llvm::Triple::MipsTechnologies &&
-      !Triple.isAndroid())
-    return false;
-
   if (ABIName != "32")
     return false;