This is an archive of the discontinued LLVM Phabricator instance.

[LV] Allow reductions that have several uses outside the loop
ClosedPublic

Authored by mkuper on Jan 17 2017, 3:01 PM.

Details

Summary

We currently check whether a reduction has a single outside user. We don't really need to require that - we just need to make sure a single value is used externally. The number of external users of that value shouldn't actually matter.

Diff Detail

Repository
rL LLVM

Event Timeline

mkuper created this revision.Jan 17 2017, 3:01 PM
mssimpso accepted this revision.Jan 18 2017, 6:42 AM

LGTM!

This revision is now accepted and ready to land.Jan 18 2017, 6:42 AM
This revision was automatically updated to reflect the committed changes.