SLPVectorizer: Improve the compile time of isConsecutive by adding a simple constant...
authorNadav Rotem <nrotem@apple.com>
Tue, 16 Jul 2013 22:51:07 +0000 (22:51 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 16 Jul 2013 22:51:07 +0000 (22:51 +0000)
commit8f924f3891dddd750d63ab191afc35b57572a956
tree59d99d84177fd4a4a59c3e65a4f91742de6dc99b
parent4c27ac2348965f754a11ebed640878d0549f462d
SLPVectorizer: Improve the compile time of isConsecutive by adding a simple constant-gep check before using SCEV.
This check does not always work because not all of the GEPs use a constant offset, but it happens often enough to reduce the number of times we use SCEV.

llvm-svn: 186465
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp