[PATCH] D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 17:54:40 PDT 2023


craig.topper added a comment.

I think this patch would change behavior `atomicrmw sub` for mips16, but it looks to be untested. `llvm/test/CodeGen/Mips/atomicops.ll` is the mips16 atomic test but it does not check all operations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158673



More information about the llvm-commits mailing list