[PATCH] D111460: [X86][LoopVectorize] "Fix" `X86TTIImpl::getAddressComputationCost()`

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 02:22:33 PDT 2021


pengfei added a comment.

@lebedev.ri , I saw you mentioned this patch on D111942 <https://reviews.llvm.org/D111942>. Could you explain what's the relationship between this one and the interleaving cost patches?



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7061
   Type *PtrTy = ToVectorTy(Ptr->getType(), VF);
+  // FIXME: PtrTy should not be a vector, it's a hack.
 
----------------
It would be more productive if it includes the reason why we can’t change it right away.
Lack of such explanation led to the original version of the patch that repeats D93129.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111460



More information about the llvm-commits mailing list