This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Optimize copies to exec with other insts after exec def
ClosedPublic

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

Details

Summary

It's possible to have terminator instructions after a write to exec,
so skip over them to find it.

Diff Detail

Event Timeline

arsenm created this revision.Jul 23 2020, 4:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 4:49 PM
nhaehnle accepted this revision.Jul 24 2020, 8:28 AM

LGTM and thanks, I think this kind of change may help with the codegen in my new control flow lowering.

This revision is now accepted and ready to land.Jul 24 2020, 8:28 AM