This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Factor out hasDivergentBranch(). NFC
ClosedPublic

Authored by ruiling on Sep 1 2022, 10:59 PM.

Details

Summary

This is helpful for detecting whether a block ends with divergent branch
in passes before lowering the pseudo control flow instructions.

Diff Detail

Event Timeline

ruiling created this revision.Sep 1 2022, 10:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2022, 10:59 PM
ruiling requested review of this revision.Sep 1 2022, 10:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2022, 10:59 PM
foad accepted this revision.Sep 2 2022, 2:35 AM

LGTM.

This revision is now accepted and ready to land.Sep 2 2022, 2:35 AM
This revision was landed with ongoing or failed builds.Sep 13 2022, 10:27 PM
This revision was automatically updated to reflect the committed changes.