wzssyqa added a comment.
To work with MIPS1, I guess
if (!Subtarget.hasMips2())
setMaxAtomicSizeInBitsSupported(0);
Should be enough.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141189/new/
https://reviews.llvm.org/D141189