This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Avoid handling registers twice in waterfall loops
ClosedPublic

Authored by arsenm on Feb 3 2020, 5:08 AM.

Details

Reviewers
nhaehnle
kerbowa
Summary

When multiple instructions are moved into a waterfall loop, it's
possible some of them re-use the same operands. Avoid creating
multiple sequences of readfirstlanes for them. None of the current
uses will hit this, but will be used in a future patch.

Diff Detail

Event Timeline

arsenm created this revision.Feb 3 2020, 5:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2020, 5:08 AM
kerbowa accepted this revision.Feb 6 2020, 1:13 AM

LGTM

This revision is now accepted and ready to land.Feb 6 2020, 1:13 AM