[PATCH] D114062: [PowerPC] use lvx + splat directly for aligned splat load

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 16 23:41:38 PST 2021


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

This is to address review comments for https://reviews.llvm.org/D106555#inline-1079417

We can use `lvx` + splat 0(or biggest index on LE) directly for some aligned splat load instead of `lvx` + splat with a constructed mask.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114062

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/load-and-splat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114062.387844.patch
Type: text/x-patch
Size: 10399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211117/718bf3ae/attachment.bin>


More information about the llvm-commits mailing list