This is an archive of the discontinued LLVM Phabricator instance.

SLPVectorizer: add a second limit for the number of alias checks.
Needs ReviewPublic

Authored by eeckstein on Jan 21 2015, 8:31 AM.

Details

Reviewers
aschwaighofer
Summary

Even with the current limit on the number of alias checks, the containing loop has quadratic complexity.
This begins to hurt for blocks containing > 1K load/store instructions.
This change introduces a limit for the loop count. It reduces the runtime for such very large blocks.

Diff Detail

Event Timeline

eeckstein updated this revision to Diff 18523.Jan 21 2015, 8:31 AM
eeckstein retitled this revision from to SLPVectorizer: add a second limit for the number of alias checks. .
eeckstein updated this object.
eeckstein edited the test plan for this revision. (Show Details)
eeckstein added a reviewer: aschwaighofer.
eeckstein added a subscriber: Unknown Object (MLST).

Committed in r226792 (with a minor change in comment).

Thanks for reviewing!