[clang] [clang][Mips] Don't report lock-free atomics without ll and sc (PR #246580)

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 01:12:13 PST 2026


================
@@ -361,6 +365,10 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo {
         IsNoABICalls = true;
       else if (Feature == "+use-indirect-jump-hazard")
         UseIndirectJumpHazard = true;
+      else if (Feature == "+r5900")
+        IsR5900 = true;
+      else if (Feature == "+forced-atomics")
+        HasForcedAtomics = true;
----------------
alexrp wrote:

I don't think that's a thing on MIPS?

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


More information about the cfe-commits mailing list