Skip to content
Commit 8f924f38 authored by Nadav Rotem's avatar Nadav Rotem
Browse files

SLPVectorizer: Improve the compile time of isConsecutive by adding a simple...

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
parent 4c27ac23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment