Skip to content

Commit 990018d

Browse files
committed
Remove check for Android in Mips.cpp
1 parent e376f9c commit 990018d

File tree

1 file changed

+1
-7
lines changed
  • clang/lib/Driver/ToolChains/Arch

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,13 +466,7 @@ bool mips::isNaN2008(const Driver &D, const ArgList &Args,
466466
}
467467

468468
bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
469-
if (!Triple.isAndroid())
470-
return false;
471-
472-
// Android MIPS32R6 defaults to FP64A.
473-
return llvm::StringSwitch<bool>(CPUName)
474-
.Case("mips32r6", true)
475-
.Default(false);
469+
return false;
476470
}
477471

478472
bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,

0 commit comments

Comments
 (0)