[PATCH] D114951: [Analysis][AArch64] Add on the address computational cost for gathers/scatters

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 2 06:13:13 PST 2021


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7070
 
-  return TTI.getAddressComputationCost(VectorTy) +
-         TTI.getGatherScatterOpCost(
----------------
I don't know what `getAddressComputationCost()` is supposed to do, or whether or not (or rather, when)
it should be queried, but i just want to point out that within LV it seems to be consistently queried
currently, but perhaps not so much in other passes.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114951



More information about the llvm-commits mailing list