OSDN Git Service

[AMDGPU] fixed scheduler crash in gfx908
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 15 Jul 2019 15:34:05 +0000 (15:34 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 15 Jul 2019 15:34:05 +0000 (15:34 +0000)
commit5516a74ba02cd243029dc5e87082034ca2a8bf0b
treeda8e7e353481a62be2f1abfe1feb47afebc30464
parentd2f603f229dbd12d39548366e7571f6d687e26a1
[AMDGPU] fixed scheduler crash in gfx908

For some reason scheduler can send down an SUnit without an
instruction.

Differential Revision: https://reviews.llvm.org/D64709

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366074 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
test/CodeGen/AMDGPU/power-sched-no-instr-sunit.mir [new file with mode: 0644]