Skip to content

Commit

Permalink
Remove check for Android in Mips.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hiraditya committed Jan 21, 2025
1 parent e376f9c commit 990018d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions clang/lib/Driver/ToolChains/Arch/Mips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,13 +466,7 @@ bool mips::isNaN2008(const Driver &D, const ArgList &Args,
}

bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
if (!Triple.isAndroid())
return false;

// Android MIPS32R6 defaults to FP64A.
return llvm::StringSwitch<bool>(CPUName)
.Case("mips32r6", true)
.Default(false);
return false;
}

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

0 comments on commit 990018d

Please sign in to comment.