[PATCH] D104809: [SLPVectorizer] Fix crash in vectorizeChainsInBlock for scalable vector.

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 08:59:43 PDT 2021


CarolineConcatto added a comment.

@ABataev I try to follow your suggestion. 
I could not find a test that could fail without a extract instruction. 
So I followed your suggestion.
The previous one implemented was more generic. 
What is done in getEntryCost is what you had in mind for the cost when it is an extract instruction?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104809



More information about the llvm-commits mailing list