This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix branch targets when emitting SI_IF
ClosedPublic

Authored by arsenm on Jan 5 2020, 7:39 PM.

Details

Summary

The branch target needs to be changed depending on whether there is an
unconditional branch or not.

Loops also need to be similarly fixed, but compiling a simple testcase
end to end requires another set of patches that aren't upstream yet.

Diff Detail

Event Timeline

arsenm created this revision.Jan 5 2020, 7:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 5 2020, 7:39 PM
kerbowa accepted this revision.Jan 13 2020, 9:03 AM

LGTM

This revision is now accepted and ready to land.Jan 13 2020, 9:03 AM