This is an archive of the discontinued LLVM Phabricator instance.

Add reassociation profitability check to TTI
Needs RevisionPublic

Authored by dmitry on Apr 20 2017, 5:59 AM.

Details

Reviewers
mcrosier
Summary

Reassociation for large vector types increases register pressure on some targets.

Diff Detail

Event Timeline

dmitry created this revision.Apr 20 2017, 5:59 AM
mcrosier edited edge metadata.Apr 20 2017, 12:10 PM

Can you add the functional part for the target of interest along with a test case?

@mcrosier, I can't. The main motivation is an out-of-tree target, but that it might be beneficial for other targets as well.

mcrosier requested changes to this revision.Apr 21 2017, 10:30 AM

@mcrosier, I can't. The main motivation is an out-of-tree target, but that it might be beneficial for other targets as well.

I appreciate you posting the patch, but until such a feature is used by an in-tree target it's difficult to justify placing the maintenance burden on the community.

This revision now requires changes to proceed.Apr 21 2017, 10:30 AM
mcrosier resigned from this revision.May 18 2017, 10:50 AM