[PATCH] D146632: [PowerPC] Fix the xxperm swap requirements

Maryam Moghadas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 07:32:50 PDT 2023


maryammo created this revision.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: All.
maryammo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch is to fix the xxperm vector operand swap condition so that the
single-use operand is in V2 to prevent copying, it also fixes the subtarget
condition to exploit the xpperm.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146632

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
  llvm/test/CodeGen/PowerPC/v16i8_scalar_to_vector_shuffle.ll
  llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146632.507359.patch
Type: text/x-patch
Size: 38018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/f2eac358/attachment.bin>


More information about the llvm-commits mailing list