[PATCH] D26861: [POWERPC][LE] prevent vxs load and store from expanding to lxvd2x/xxswapd and xxswapd/stxvd2x for aligned vectors

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 09:16:36 PST 2016


lei created this revision.
lei added reviewers: kbarton, syzaara, sfertile, jtony, nemanjai, amehsan, wschmidt.
lei added subscribers: llvm-commits, echristo.

On power7/8 LE, prevent vxs load and store from expanding to lxvd2x/xxswapd and xxswapd/stxvd2x when vector is aligned with elements up to 4 bytes.

PR# 30730


https://reviews.llvm.org/D26861

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/ppc64-i128-abi.ll
  test/CodeGen/PowerPC/swaps-le-1.ll
  test/CodeGen/PowerPC/swaps-le-2.ll
  test/CodeGen/PowerPC/vsx-ldst.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26861.78537.patch
Type: text/x-patch
Size: 17272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161118/a2abe148/attachment-0001.bin>


More information about the llvm-commits mailing list