In emitElse live interval for SI_ELSE source must be recalculated
as SI_ELSE is removed, and new user is placed at block start.
In emitIfBreak live interval for new created AndReg must be
computed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60 ms | x64 debian > LLVM.CodeGen/AMDGPU::collapse-endcf.mir |
Event Timeline
Comment Actions
- Defer recomputation of live intervals for existing register to after other lowering.
- Add missing recomputation of some source registers which have moved instructions.
- Add missing map insertion for initial exec = S_MOV -1.
- Add missing map insertion for new branch instruction.
- Remove splicing of entire fall through blocks, its impossible to preserve SlotIndexes if we do this.
Comment Actions
Thanks for the reminder -- I am planning to rework some existing tests to cover this, but currently preoccupied so will be a few more days.
Comment Actions
- Rebase
- Add MIR tests based on reduced shader failures
- Fix issue redundant MBB removal and update collapse-endcf.mir
llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | ||
---|---|---|
835–840 | This doesn't sound right but I guess it will be cleaned up later anyway |
This doesn't sound right but I guess it will be cleaned up later anyway