[llvm-dev] Help: Question on Epilog Vectorization

Florian Hahn via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 7 13:57:38 PDT 2021

> On Oct 6, 2021, at 21:41, Bardia Mahjour <bmahjour at ca.ibm.com> wrote:
> The resume value for the widened induction is the only problem I'm aware of. 
> The issue is that normally scalar induction resume values are created/updated as part of skeleton creation. However for widened inductions in the epilogue loop, we have corresponding recipes in the vplan that haven't been executed at the time of skeleton creation. We either have to find the related phis after the fact and fix them up, or change the vplan to update the incoming values of the widened IVs before executing on it. Florian demonstrate the latter idea in https://reviews.llvm.org/D92132, so maybe he has more details to share.

All required patches for  https://reviews.llvm.org/D92132 landed a while ago. I just updated it and it should be ready for review now.


More information about the llvm-dev mailing list