[clang] Remove check for Android in Mips.cpp (PR #123793)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 21 10:13:58 PST 2025


================
@@ -466,13 +466,7 @@ bool mips::isNaN2008(const Driver &D, const ArgList &Args,
 }
 
 bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
----------------
pirama-arumuga-nainar wrote:

We can remove the entire function -  it has one use earlier in the file, where some features are added when it is true.

```
  } else if (mips::isFP64ADefault(Triple, CPUName)) {
    Features.push_back("+fp64");
    Features.push_back("+nooddspreg");
  }
```

https://github.com/llvm/llvm-project/pull/123793


More information about the cfe-commits mailing list