[PATCH] D141189: [Mips] Set setMaxAtomicSizeInBitsSupported

Brad Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 13:02:33 PST 2023


brad added inline comments.


================
Comment at: llvm/lib/Target/Mips/MipsISelLowering.cpp:500-501
+    setMaxAtomicSizeInBitsSupported(32);
+  else
+    setMaxAtomicSizeInBitsSupported(0);
+
----------------
arsenm wrote:
> Else case doesn't make sense to me but I know nothing about mips 
> Else case doesn't make sense to me but I know nothing about mips 

To deal with MIPS-I not having support for atomics.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141189/new/

https://reviews.llvm.org/D141189



More information about the llvm-commits mailing list