[PATCH] D140498: [SLP]Fix cost of the broadcast buildvector/gather.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 02:42:40 PST 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.h:152
+                                     Value *Op0 = nullptr,
+                                     Value *Op1 = nullptr);
   InstructionCost getScalarizationOverhead(VectorType *Ty,
----------------
How much work to avoid the default values on all the target impl? We don't do the same for Index.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140498



More information about the llvm-commits mailing list