[PATCH] D116397: [RISCV] Add an MIR pass to replace redundant sext.w instructions with copies.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 30 09:41:38 PST 2021


craig.topper updated this revision to Diff 396688.
craig.topper added a comment.

Only add the pass on RV64 target.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116397

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/RISCV.h
  llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
  llvm/test/CodeGen/RISCV/atomic-signext.ll
  llvm/test/CodeGen/RISCV/rv64zbs.ll
  llvm/test/CodeGen/RISCV/sextw-removal.ll
  llvm/test/CodeGen/RISCV/split-offsets.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116397.396688.patch
Type: text/x-patch
Size: 25240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211230/e6a2e8a3/attachment.bin>


More information about the llvm-commits mailing list