[PATCH] D69497: [PowerPC] Fix MI peephole optimization for splats

Colin Samples via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 08:53:02 PDT 2019


vddvss updated this revision to Diff 227116.
vddvss edited the summary of this revision.
vddvss added a comment.

Per @jsji's suggestion, this checks if the operands to `DefMI` are both the same virtual register, which enables optimization in more cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69497

Files:
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/test/CodeGen/PowerPC/mi-peephole-splat.ll
  llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69497.227116.patch
Type: text/x-patch
Size: 18223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/ca835017/attachment.bin>


More information about the llvm-commits mailing list