[PATCH] D97909: [AIX] Allow safe for 32bit P8 VSX pattern matching

Zarko Todorovski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 12 12:00:32 PST 2021


ZarkoCA updated this revision to Diff 330336.
ZarkoCA added a comment.

Previous version of the patch only legalized the EXTRACT_VECTOR_ELT node in 64Bit mode.  Remove that condition so that we are using VSX instructions to extract vector elements in 32bit mode when we can


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97909

Files:
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
  llvm/test/CodeGen/PowerPC/cannonicalize-vector-shifts.ll
  llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97909.330336.patch
Type: text/x-patch
Size: 64166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210312/1661dce2/attachment.bin>


More information about the llvm-commits mailing list