[PATCH] D144128: [SLP] Check with target before vectorizing GEP Indices

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 12:30:07 PST 2023


ABataev added a comment.

Can you try to move this check to buildTree_rec function, NotProfitableForVectorization lambda and make it return true if `S.getOpcode() == Instruction::GetElementPtr && !TTI->prefersVectorizedAddressing()`?


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

https://reviews.llvm.org/D144128



More information about the llvm-commits mailing list