This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Refactoring of horizontal reduction analysis, NFC.
ClosedPublic

Authored by ABataev on Jan 26 2017, 5:58 AM.

Details

Summary

Some checks in SLP horizontal reduction analysis function are performed several times, though it is enough to perform these checks only once during an initial attempt at adding candidate for the reduction instruction/reduced value.

Diff Detail