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 | 7c8a26030faad65d49ecd06a4e51344368b79d8d (patch) | |
tree | 842ea378128a3f72e11f954c9aa57a5b73fa78b7 /lib/Transforms/Vectorize/Vectorize.cpp | |
parent | 82d4215f64dc941f21bbae7ec781367d343387b8 (diff) | |
download | external_llvm-7c8a26030faad65d49ecd06a4e51344368b79d8d.zip external_llvm-7c8a26030faad65d49ecd06a4e51344368b79d8d.tar.gz external_llvm-7c8a26030faad65d49ecd06a4e51344368b79d8d.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/Vectorize.cpp')
0 files changed, 0 insertions, 0 deletions