This introduces verifier errors into this broken situation which we do
not handle correctly, which is better than being silently
miscompiled. For the emergency stack slot, the scavenger likes to move
the restore instruction as late as possible, which ends up separating
the SCC def from the conditional branch.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
llvm/test/CodeGen/AMDGPU/scc-clobbered-sgpr-to-vmem-spill.ll | ||
---|---|---|
7 | ... as far down the block ...? |
clang-format: please reformat the code