[PATCH] D149083: [PowerPC] Optimize VPERM and fix code order for swapping vector operands on LE

Maryam Moghadas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 10:08:34 PDT 2023


maryammo updated this revision to Diff 543611.
maryammo added a comment.

Take into account the little-endian swap when deciding on single-use operand to be second one


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149083

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/build-vector-tests.ll
  llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
  llvm/test/CodeGen/PowerPC/ppc-shufflevector-combine.ll
  llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
  llvm/test/CodeGen/PowerPC/v16i8_scalar_to_vector_shuffle.ll
  llvm/test/CodeGen/PowerPC/v8i16_scalar_to_vector_shuffle.ll
  llvm/test/CodeGen/PowerPC/vec-itofp.ll
  llvm/test/CodeGen/PowerPC/vec_conv_i16_to_fp32_elts.ll
  llvm/test/CodeGen/PowerPC/vec_conv_i16_to_fp64_elts.ll
  llvm/test/CodeGen/PowerPC/vec_conv_i8_to_fp32_elts.ll
  llvm/test/CodeGen/PowerPC/vec_conv_i8_to_fp64_elts.ll
  llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
  llvm/test/CodeGen/PowerPC/vperm-swap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149083.543611.patch
Type: text/x-patch
Size: 43176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230724/08876582/attachment.bin>


More information about the llvm-commits mailing list