r213142 - [Driver][Mips] Remove flags which is not used in multi-library selection.

Simon Atanasyan simon at atanasyan.com
Wed Jul 16 05:29:09 PDT 2014


Author: atanasyan
Date: Wed Jul 16 07:29:05 2014
New Revision: 213142

URL: http://llvm.org/viewvc/llvm-project?rev=213142&view=rev
Log:
[Driver][Mips] Remove flags which is not used in multi-library selection.

No functional changes.

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=213142&r1=213141&r2=213142&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Wed Jul 16 07:29:05 2014
@@ -1925,9 +1925,7 @@ static bool findMIPSMultilibs(const llvm
       (!tools::mips::hasMipsAbiArg(Args, "n32") && isMips64(TargetArch));
   addMultilibFlag(IsMABI64, "mabi=64", Flags);
   addMultilibFlag(isSoftFloatABI(Args), "msoft-float", Flags);
-  addMultilibFlag(isSoftFloatABI(Args), "mfloat-abi=soft", Flags);
   addMultilibFlag(!isSoftFloatABI(Args), "mhard-float", Flags);
-  addMultilibFlag(!isSoftFloatABI(Args), "mfloat-abi=hard", Flags);
   addMultilibFlag(isMipsEL(TargetArch), "EL", Flags);
   addMultilibFlag(isMipsEB(TargetArch), "EB", Flags);
 





More information about the cfe-commits mailing list