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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 06:09:09 PST 2021


nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:4475
     AddrOp = STN->getOperand(2);
+  else if (MIN && MIN->getOpcode() == PPCISD::LD_SPLAT)
+    AddrOp = MIN->getOperand(1);
----------------
Nit: can probably be added to line 4471 (except of course change the body to
`AddrOp = N->getOperand(1)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114062



More information about the llvm-commits mailing list