[clang] 399f313 - [Driver] Remove remnant mips64el-linux-android code after D146565

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 16:00:22 PDT 2023


Author: Fangrui Song
Date: 2023-03-23T16:00:17-07:00
New Revision: 399f313f271342d1d838bf396af5c5d8d587915a

URL: https://github.com/llvm/llvm-project/commit/399f313f271342d1d838bf396af5c5d8d587915a
DIFF: https://github.com/llvm/llvm-project/commit/399f313f271342d1d838bf396af5c5d8d587915a.diff

LOG: [Driver] Remove remnant mips64el-linux-android code after D146565

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/Arch/Mips.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/Arch/Mips.cpp b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
index 7da00a8854006..f9f14c01b2b9f 100644
--- a/clang/lib/Driver/ToolChains/Arch/Mips.cpp
+++ b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
@@ -39,12 +39,6 @@ void mips::getMipsCPUAndABI(const ArgList &Args, const llvm::Triple &Triple,
     DefMips64CPU = "mips64r6";
   }
 
-  // MIPS64r6 is the default for Android MIPS64 (mips64el-linux-android).
-  if (Triple.isAndroid()) {
-    DefMips32CPU = "mips32";
-    DefMips64CPU = "mips64r6";
-  }
-
   // MIPS3 is the default for mips64*-unknown-openbsd.
   if (Triple.isOSOpenBSD())
     DefMips64CPU = "mips3";


        


More information about the cfe-commits mailing list