This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix iterator error when lowering SI_END_CF
ClosedPublic

Authored by arsenm on Aug 17 2019, 1:42 PM.

Details

Reviewers
rampitec
nhaehnle
Summary

If the instruction is the last in the block, there is no next
instruction but the iteration still needs to look at the new block.

Diff Detail

Event Timeline

arsenm created this revision.Aug 17 2019, 1:42 PM
This revision is now accepted and ready to land.Aug 17 2019, 2:00 PM
arsenm closed this revision.Aug 17 2019, 5:20 PM

r369203