aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-07-16 22:51:07 +0000
committerNadav Rotem <nrotem@apple.com>2013-07-16 22:51:07 +0000
commit8f924f3891dddd750d63ab191afc35b57572a956 (patch)
tree59d99d84177fd4a4a59c3e65a4f91742de6dc99b /llvm/lib/IR/Module.cpp
parent4c27ac2348965f754a11ebed640878d0549f462d (diff)
downloadllvm-8f924f3891dddd750d63ab191afc35b57572a956.zip
llvm-8f924f3891dddd750d63ab191afc35b57572a956.tar.gz
llvm-8f924f3891dddd750d63ab191afc35b57572a956.tar.bz2
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
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions