aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-09-10 15:49:09 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-09-18 13:43:01 -0400
commit0576f436e577cede25810729aef236ec8c649446 (patch)
treeda127e2b144c4b56c2e234a3386c31abde626324 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent615695de27e417d6b444cd983e6f636373afc8c9 (diff)
downloadllvm-0576f436e577cede25810729aef236ec8c649446.zip
llvm-0576f436e577cede25810729aef236ec8c649446.tar.gz
llvm-0576f436e577cede25810729aef236ec8c649446.tar.bz2
AMDGPU: Don't sometimes allow instructions before lowered si_end_cf
Since 6524a7a2b9ca072bd7f7b4355d1230e70c679d2f, 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.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions