[PATCH] D114800: [PowerPC] Replace MFVSRLD with MFVSRD when the vector is symmetrical

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 16 07:16:06 PST 2021


stefanp updated this revision to Diff 394870.
stefanp added a comment.

Updated the patch to use isCommutable instead of listing the instructions
individually.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114800

Files:
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/test/CodeGen/PowerPC/reduce_scalarization.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-add.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-and.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-or.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-smax.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-smin.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-umax.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-umin.ll
  llvm/test/CodeGen/PowerPC/vector-reduce-xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114800.394870.patch
Type: text/x-patch
Size: 21130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211216/8f23de43/attachment-0001.bin>


More information about the llvm-commits mailing list