diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-07-16 22:51:07 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-07-16 22:51:07 +0000 |
commit | 8f924f3891dddd750d63ab191afc35b57572a956 (patch) | |
tree | 59d99d84177fd4a4a59c3e65a4f91742de6dc99b /llvm/lib/IR/Module.cpp | |
parent | 4c27ac2348965f754a11ebed640878d0549f462d (diff) | |
download | llvm-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