Skip to content
Commit 0576f436 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

AMDGPU: Don't sometimes allow instructions before lowered si_end_cf

Since 6524a7a2, this would sometimes
not emit the or to exec at the beginning of the block, where it really
has to be. If there is an instruction that defines one of the source
operands, split the block and turn the si_end_cf into a terminator.

This avoids regressions when regalloc fast is switched to inserting
reloads at the beginning of the block, instead of spills at the end of
the block.

In a future change, this should always split the block.
parent 615695de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment