This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't assume there is only one terminator copy
ClosedPublic

Authored by arsenm on Jul 23 2020, 4:45 PM.

Details

Summary

This would stop on the first in reverse order, failing the verifier if
there were more earlier in the block.

Diff Detail

Event Timeline

arsenm created this revision.Jul 23 2020, 4:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 4:45 PM

Update the comment above removeTerminatorBit. LGTM otherwise.

arsenm updated this revision to Diff 280603.Jul 24 2020, 3:12 PM

Fix comment and matching in one mir test

rampitec accepted this revision.Jul 28 2020, 2:45 PM
This revision is now accepted and ready to land.Jul 28 2020, 2:45 PM