HomePhabricator

AMDGPU: Split block for si_end_cf

Description

AMDGPU: Split block for si_end_cf

Relying on no spill or other code being inserted before this was
precarious. It relied on code diligently checking isBasicBlockPrologue
which is likely to be forgotten.

Ideally this could be done earlier, but this doesn't work because of
phis. Any other instruction can't be placed before them, so we have to
accept the position being incorrect during SSA.

This avoids regressions in the fast register allocator rewrite from
inverting the direction.

Details

Committed
arsenmApr 3 2019, 1:53 PM
Parents
rL357633: Re-enable most lldb-vscode tests on Linux.
Branches
Unknown
Tags
Unknown