[PATCH] D126363: [VPlan, VP] 1/4 Introduce new recipes to support predicated vectorization
Simon Moll via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 07:22:03 PDT 2022
simoll added a comment.
In D126363#3536686 <https://reviews.llvm.org/D126363#3536686>, @ABataev wrote:
> Hi Simon, did you think about making EVL a member of VPlan just like TripCount? In this case we might be not needed lots of these new classes.
Hi Alexey! The EVL behaves like a mask and less like the TripCount. When used for tail predication, the value of EVL still depends on the current vector iteration and needs to be computed in the vector loop. Also - depending on you target - setting EVL is relatively light weight and instructions in the vector loop may have different EVLs in the future.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126363/new/
https://reviews.llvm.org/D126363
More information about the llvm-commits
mailing list