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

Elena Lepilkina via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 01:43:27 PDT 2022


eklepilkina updated this revision to Diff 451768.
eklepilkina added a comment.

- Cherry-pick fix


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.451768.patch
Type: text/x-patch
Size: 18353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220811/a1fa5c06/attachment-0001.bin>


More information about the llvm-commits mailing list