r245871 - Revert r245866.

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 13:30:58 PDT 2015


Author: ahatanak
Date: Mon Aug 24 15:30:57 2015
New Revision: 245871

URL: http://llvm.org/viewvc/llvm-project?rev=245871&view=rev
Log:
Revert r245866.

This commit was causing buildbot failures.

Removed:
    cfe/trunk/test/Driver/arm-float-abi.c
Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=245871&r1=245870&r2=245871&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Aug 24 15:30:57 2015
@@ -582,10 +582,6 @@ StringRef tools::arm::getARMFloatABI(con
         FloatABI = "soft";
       }
     }
-
-    if (Triple.isOSDarwin() && FloatABI == "hard")
-      D.Diag(diag::err_drv_unsupported_opt_for_target) << A->getAsString(Args)
-                                                       << Triple.getArchName();
   }
 
   // If unspecified, choose the default based on the platform.

Removed: cfe/trunk/test/Driver/arm-float-abi.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/arm-float-abi.c?rev=245870&view=auto
==============================================================================
--- cfe/trunk/test/Driver/arm-float-abi.c (original)
+++ cfe/trunk/test/Driver/arm-float-abi.c (removed)
@@ -1,5 +0,0 @@
-// RUN: not %clang %s -target armv7-apple-ios -mfloat-abi=hard 2>&1 | FileCheck -check-prefix=ARMV7-HARD %s
-// RUN: %clang %s -target armv7-apple-ios -mfloat-abi=softfp -### 2>&1 | FileCheck -check-prefix=ARMV7-SOFTFP %s
-
-// ARMV7-HARD: unsupported option '-mfloat-abi=hard' for target 'thumbv7'
-// ARMV7-SOFTFP-NOT: unsupported option




More information about the cfe-commits mailing list