SLPVectorizer: Accelerate the isConsecutive check by replacing the subtraction of...
authorNadav Rotem <nrotem@apple.com>
Wed, 17 Jul 2013 00:48:31 +0000 (00:48 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 17 Jul 2013 00:48:31 +0000 (00:48 +0000)
commita38edf071dbc76b2e0525485ea4c368cee908373
tree6013309c6dd05c636af9e3f177ac1579e690996c
parentfe47bf8fa07e12b70ff8b234fa1f6b97c8d2753d
SLPVectorizer: Accelerate the isConsecutive check by replacing the subtraction of the two values with a simple SCEV expression that adds the offset to one of the pointers that we compare.

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