Page MenuHomePhabricator

[LoopVectorizer][ARM] Add preferInloopReduction reduction.
Needs ReviewPublic

Authored by dmgreen on Mar 3 2020, 3:59 AM.

Details

Summary

This allows the backend to tell the vectorizer to produce inloop reductions through a TTI hook.

For the moment on ARM under MVE this means allowing integer add reductions of the correct size. In the future this can include integer min/max too, under -Os. Taken out of D75069.

Diff Detail

Event Timeline

dmgreen created this revision.Mar 3 2020, 3:59 AM
Herald added a project: Restricted Project. · View Herald Transcript
dmgreen updated this revision to Diff 278700.Fri, Jul 17, 3:24 AM
dmgreen edited the summary of this revision. (Show Details)
dmgreen added reviewers: SjoerdMeijer, fhahn, Ayal.