[PATCH] D69629: [AMDGPU] Improve code size cost model (part 2)

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 10:35:44 PDT 2019


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:668
 
+  unsigned getShuffleCost(const ShuffleVectorInst *Shuffle) {
+    Type *Ty = Shuffle->getType();
----------------
This seems to now be duplicated in two different places now? Except the other version uses int and is const?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69629





More information about the llvm-commits mailing list