[PATCH] D71170: [PowerPC] [NFC] Cleanup xxpermdi peephole optimization

Colin Samples via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 13:12:06 PST 2019


vddvss updated this revision to Diff 232915.
vddvss marked an inline comment as done.
vddvss added a comment.

This addresses @jsji's note about the potential for stack slots being let through by using `isPhysicalRegister`. It changes this pattern and the one from  D69497 <https://reviews.llvm.org/D69497> to use  `!isVirtualRegister`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71170

Files:
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71170.232915.patch
Type: text/x-patch
Size: 10795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191209/380b3ddd/attachment.bin>


More information about the llvm-commits mailing list