[PATCH] D130769: [RISCV] Combine and remove redundant ADD/SUB instructions

Elena Lepilkina via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 03:11:59 PDT 2022


eklepilkina updated this revision to Diff 452125.
eklepilkina marked an inline comment as done.
eklepilkina added a comment.

- Upstream review fixes
- Upstream review fixes(2)
- Replace pass before BranchRelaxation
- Some more review feedback


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130769

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/RISCV.h
  llvm/lib/Target/RISCV/RISCVAddSubCombiner.cpp
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
  llvm/test/CodeGen/RISCV/O3-pipeline.ll
  llvm/test/CodeGen/RISCV/add-sub-combiner.mir
  llvm/test/CodeGen/RISCV/adds-combinations.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130769.452125.patch
Type: text/x-patch
Size: 18152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220812/c41b83e7/attachment.bin>


More information about the llvm-commits mailing list