[PATCH] D113609: [X86][Costmodel] `getReplicationShuffleCost()`: promote 16 bit-wide elements to 32 bit when no AVX512BW

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 07:55:48 PST 2021


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:3644
+  // Do we have a native shuffle for this element type, or should we promote?
+  unsigned EffEltTyBits = EltTyBits;
   switch (EltTyBits) {
----------------
RKSimon wrote:
> I assume 'Eff' is short for effective? But we talk about it in terms of promotion - can you use a consistent term, I don't mind which.
Hmm, it does not seem any different to me, but okay.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113609



More information about the llvm-commits mailing list