llvm.org GIT mirror llvm / c6561de
Merging r275935: ------------------------------------------------------------------------ r275935 | arsenm | 2016-07-18 17:35:22 -0700 (Mon, 18 Jul 2016) | 6 lines AMDGPU/SI: Fix SI scheduler refcount issue Without this fix, releaseSuccessors when InOrOutBlock is false could release SUs outside the schedule BasicBlock. Patch by Axel Davy ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@276116 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 4 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
463463 for (SDep& Succ : SU->Succs) {
464464 SUnit *SuccSU = Succ.getSUnit();
465465
466 if (SuccSU->NodeNum >= DAG->SUnits.size())
467 continue;
468
466469 if (BC->isSUInBlock(SuccSU, ID) != InOrOutBlock)
467470 continue;
468471