[llvm] [SLP] Fix : Do not skip profitable small VFs in Vectorize Stores (PR #177100)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 01:07:43 PST 2026


Soumik15630 wrote:

I was thinking about this after your comment - that if performance cost is great what's the sol , i came up with this please correct me if i'm wrong

we can revert the changes in firstunvecstore , rangesize , and checktreesizes 
but keep the VF>maxrangevf in isprofitable checking 
so it can keep the vf in second bucket but during profitability check it will check in first one and getting a return of 0 ...it can effectively vectorize (without the performance cost of writing to first )



https://github.com/llvm/llvm-project/pull/177100


More information about the llvm-commits mailing list