[PATCH] D90131: [PowerPC] Add folding patterns for rlwinm + andi_rec.

EsmeYi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 00:00:52 PST 2020


Esme updated this revision to Diff 309169.
Esme added a comment.

Exclude the cases if SrcMI can't be erased and the Reg used by MI is not `kill`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90131

Files:
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/test/CodeGen/PowerPC/fold-rlwinm-1.ll
  llvm/test/CodeGen/PowerPC/fold-rlwinm-after-ra.mir
  llvm/test/CodeGen/PowerPC/fold-rlwinm.mir
  llvm/test/CodeGen/PowerPC/p10-spill-crgt.ll
  llvm/test/CodeGen/PowerPC/p10-spill-crun.ll
  llvm/test/CodeGen/PowerPC/vsx_builtins.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90131.309169.patch
Type: text/x-patch
Size: 18355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/a24a4d54/attachment.bin>


More information about the llvm-commits mailing list