Page MenuHomePhabricator

AMDGPU: Move m0 initializations earlier
ClosedPublic

Authored by kerbowa on Sep 11 2019, 8:41 AM.

Details

Summary

After hoisting and merging m0 initializations schedule them as early as
possible in the MBB. This helps the scheduler avoid hazards in some
cases.

Event Timeline

kerbowa created this revision.Sep 11 2019, 8:41 AM
kerbowa updated this revision to Diff 219722.Sep 11 2019, 8:44 AM

Fix test.

Harbormaster completed remote builds in B38015: Diff 219722.
rampitec added inline comments.Sep 11 2019, 11:57 AM
llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
614

Pass TRI into these two calls.

kerbowa updated this revision to Diff 219772.Sep 11 2019, 12:48 PM

Add TRI to reads/definesRegsiter.

kerbowa marked an inline comment as done.Sep 11 2019, 12:48 PM
This revision is now accepted and ready to land.Sep 11 2019, 12:49 PM
This revision was automatically updated to reflect the committed changes.