Skip to content

Commit 2a51a0d

Browse files
authored
Remove reference to android-mips (#124021)
1 parent 2b67ece commit 2a51a0d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

clang/lib/Driver/ToolChains/Linux.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,6 @@ std::string Linux::getMultiarchTriple(const Driver &D,
180180

181181
static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) {
182182
if (Triple.isMIPS()) {
183-
if (Triple.isAndroid()) {
184-
StringRef CPUName;
185-
StringRef ABIName;
186-
tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
187-
if (CPUName == "mips32r6")
188-
return "libr6";
189-
if (CPUName == "mips32r2")
190-
return "libr2";
191-
}
192183
// lib32 directory has a special meaning on MIPS targets.
193184
// It contains N32 ABI binaries. Use this folder if produce
194185
// code for N32 ABI only.

0 commit comments

Comments
 (0)