AMDGPU/SI: Fix SI scheduler refcount issue
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 19 Jul 2016 00:35:22 +0000 (00:35 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 19 Jul 2016 00:35:22 +0000 (00:35 +0000)
commitfe358066eaea7db1a25a39b7dcf50cfaa7dd2c6d
tree60eadf08bcc745f6ddccfcd8f9cbf587317e6461
parentcb540bc03c29ad9e9c1982267135d2cee3033058
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

llvm-svn: 275935
llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp