HomePhabricator

[AMDGPU] Insert PS early exit at end of control flow

Authored by critson on Jul 2 2020, 8:25 PM.

Description

[AMDGPU] Insert PS early exit at end of control flow

Exit early if the exec mask is zero at the end of control flow.
Mark the ends of control flow during control flow lowering and
convert these to exits during the insert skips pass.

Reviewed By: nhaehnle

Differential Revision: https://reviews.llvm.org/D82737

Details

Committed
critsonJul 2 2020, 10:04 PM
Reviewer
nhaehnle
Differential Revision
D82737: [AMDGPU] Insert PS early exit at end of control flow
Parents
rGd8921a800525: [PowerPC][NFC] Prevent unused error when assertion is disabled.
Branches
Unknown
Tags
Unknown