This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Rework `findBuildAggregate()` from ercursive form to iterative, NFC.
ClosedPublic

Authored by ABataev on Feb 17 2017, 10:26 AM.

Event Timeline

ABataev created this revision.Feb 17 2017, 10:26 AM
mkuper accepted this revision.Feb 17 2017, 11:10 AM

LGTM with minor comments.

lib/Transforms/Vectorize/SLPVectorizer.cpp
4617

Any reason this isn't nullptr? It looks like you never use the initial value.

4628

Does the order really matter?
Anyway, if you think it does, I'm fine with this to keep it NFC.

This revision is now accepted and ready to land.Feb 17 2017, 11:10 AM
This revision was automatically updated to reflect the committed changes.