[PATCH] D17332: [LV] Fix PR26600: avoid out of bounds loads for interleaved access vectorization

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 18:10:58 PST 2016


hfinkel added a comment.

How complicated would it be, instead of bailing out when we have a group without the last member, to peel off the last vector iteration instead (i.e. jump to the scalar tail loop one vector-loop iteration "early")?

It seems like that would be a better solution (although, if you agree, but it seems too complicated to implement for the release branch, I'm fine with taking this (and pulling it into the release branch), and then implementing the better solution in trunk only).


http://reviews.llvm.org/D17332





More information about the llvm-commits mailing list