This is an archive of the discontinued LLVM Phabricator instance.

IPRA: Run RegUsageInfoPropagate much later
ClosedPublic

Authored by arsenm on Aug 14 2017, 9:46 AM.

Details

Reviewers
MatzeB
qcolombet
Summary

This was running immediately after isel, before
isel pseudos were even expanded which is really
unreasonable. Move this to before pre-reglloc
passes in case some other pre-regalloc pass wants to
use the updated regmask info.

Fixes one of the reasons IPRA doesn't do anything on
AMDGPU currently. Tests will be included with future
patch after a few more are fixed.

Diff Detail

Event Timeline

arsenm created this revision.Aug 14 2017, 9:46 AM
This revision is now accepted and ready to land.Aug 14 2017, 9:54 AM
arsenm closed this revision.Aug 14 2017, 12:55 PM

r310875