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

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 17:45:52 PST 2021


shchenz marked an inline comment as done.
shchenz added a comment.

Thanks for your review @nemanjai



================
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);
----------------
nemanjai wrote:
> Nit: can probably be added to line 4471 (except of course change the body to
> `AddrOp = N->getOperand(1)`
Will fix this in the commit.


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