[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
Thu Aug 24 12:21:24 PDT 2023


dtcxzyw updated this revision to Diff 553227.
dtcxzyw added a comment.

- Rebase
- Address feedback


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158673

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoA.td
  llvm/test/CodeGen/RISCV/atomic-rmw-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158673.553227.patch
Type: text/x-patch
Size: 9754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230824/1563fa6a/attachment.bin>


More information about the llvm-commits mailing list