[PATCH] D121354: [SLP] Fix lookahead operand reordering for splat loads.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 06:28:24 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:1049
+  InstructionCost getBroadcastLoadCost(Type *ElementTy,
+                                       unsigned NumElements) const;
+
----------------
Why do we need this? Why not just use getShuffleCost?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121354



More information about the llvm-commits mailing list