This is an archive of the discontinued LLVM Phabricator instance.

Add target hook for whether it is profitable to reduce load widths
ClosedPublic

Authored by arsenm on Nov 24 2014, 6:10 PM.

Details

Reviewers
arsenm
Summary

Add an option to disable optimization to shrink truncated larger type
loads to smaller type loads. On SI this prevents using scalar load
instructions in some cases, since there are no scalar extloads.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 16592.Nov 24 2014, 6:10 PM
arsenm retitled this revision from to Add target hook for whether it is profitable to reduce load widths .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm accepted this revision.Dec 11 2014, 4:01 PM
arsenm added a reviewer: arsenm.

r224084

This revision is now accepted and ready to land.Dec 11 2014, 4:01 PM
arsenm closed this revision.Dec 11 2014, 4:01 PM