[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
Fri Sep 8 20:17:24 PDT 2023


dtcxzyw updated this revision to Diff 556336.
dtcxzyw marked 2 inline comments as done.
dtcxzyw added a comment.

Update diff with full context


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158673

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/Mips/Mips16ISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoA.td
  llvm/test/CodeGen/Mips/atomicops.ll
  llvm/test/CodeGen/RISCV/atomic-rmw-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158673.556336.patch
Type: text/x-patch
Size: 18472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230909/459eff9b/attachment.bin>


More information about the llvm-commits mailing list