[PATCH] D133103: [PowerPC] Improve kill flag computation and add verification after MI peephole

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 19:53:00 PST 2022


nemanjai updated this revision to Diff 479511.
nemanjai added a comment.

Address review comments

- Commit the addition of LLVM_DEBUG messages as a separate NFC patch
- Provide some helper functions
- Remove unrelated changes
- Some general cleanup


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133103

Files:
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.h
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  llvm/test/CodeGen/PowerPC/O3-pipeline.ll
  llvm/test/CodeGen/PowerPC/convert-ri-addi-to-ri.mir
  llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-kill-flag.mir
  llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir
  llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
  llvm/test/CodeGen/PowerPC/fixup-kill-dead-flag-crash.mir
  llvm/test/CodeGen/PowerPC/fold-rlwinm.mir
  llvm/test/CodeGen/PowerPC/jump-tables-collapse-rotate-remove-SrcMI.mir
  llvm/test/CodeGen/PowerPC/mi-peephole.mir
  llvm/test/CodeGen/PowerPC/opt-cmp-rec-postra.mir
  llvm/test/CodeGen/PowerPC/peephole-miscompile-extswsli.mir
  llvm/test/CodeGen/PowerPC/peephole-phi-acc.mir
  llvm/test/CodeGen/PowerPC/remove-redundant-li-implicit-reg.mir
  llvm/test/CodeGen/PowerPC/rlwinm_rldicl_to_andi.mir
  llvm/test/CodeGen/PowerPC/sext_elimination.mir
  llvm/test/CodeGen/PowerPC/unreachable-mbb-jtreference-elimination.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133103.479511.patch
Type: text/x-patch
Size: 72464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/39434f21/attachment-0001.bin>


More information about the llvm-commits mailing list