[PATCH] D93122: [TTI] Use shuffle cost in getInterleavedMemoryOpCost, if profitable.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 12 08:35:22 PST 2020


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:1165
+      Cost += std::min(ShuffleCost, InsertExtractCost);
     }
 
----------------
Wouldn't trying getScalarizationOverhead be a better approach?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93122



More information about the llvm-commits mailing list