[PATCH] D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs
Yingwei Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 28 18:34:47 PDT 2023
dtcxzyw added a comment.
In D158673#4623269 <https://reviews.llvm.org/D158673#4623269>, @craig.topper wrote:
> 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.
I will add some pre-commit tests later.
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