This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix processing new phi in waterfall loop
ClosedPublic

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

Details

Summary

The adjusted iterator range included the last we just inserted, and
don't want to process. Figure out the new iterator range before
inserting phis. This was a harmless problem, but added an unnecessary
complication for a future patch.

Diff Detail

Event Timeline

arsenm created this revision.Feb 3 2020, 5:07 AM
nhaehnle accepted this revision.Feb 5 2020, 8:39 AM

LGTM

This revision is now accepted and ready to land.Feb 5 2020, 8:39 AM