[PATCH] D153570: [CostModel][SLP] Use getGEPCost AccessTy in more places

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 09:31:36 PDT 2023


luke added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:1644
       Cost += getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(),
-                         Indices, nullptr, CostKind);
+                         Indices, AccessTy, CostKind);
     }
----------------
Note to self: Should probably get around to deduplicating the getPointersChainCost here and the one in targettransforminfoimpl.h at some point.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153570



More information about the llvm-commits mailing list