]> granicus.if.org Git - llvm/commit
[LV] Swap A and B in interleaved access analysis (NFC)
authorMatthew Simpson <mssimpso@codeaurora.org>
Fri, 15 Jul 2016 15:22:43 +0000 (15:22 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Fri, 15 Jul 2016 15:22:43 +0000 (15:22 +0000)
commit53352c3d28456bdff61a8f49264da035b98dc18e
tree92cb9e4d07a40d8c482c7f8374ebd7c505b80e2f
parent6b0141c6fb3811beea7405184d73d210f5d7391a
[LV] Swap A and B in interleaved access analysis (NFC)

This patch swaps A and B in the interleaved access analysis and clarifies
related comments. The algorithm is more intuitive if we let access A precede
access B in program order rather than the reverse. This change was requested in
the review of D19984.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp