[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)
commitf855346f0b93ab2cff34c50bb4cc3a068f8de80d
tree880435018217e13e449770d4af3ae9fb14b4f117
parentb3d17690eb0102c91f5e31b016d8a9b1437b2b82
[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.

llvm-svn: 275567
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp