For some reason scheduler can send down an SUnit without an
instruction.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
769 | There is SUnit::isInstr() also |
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
769 | It's actually very strange to see anything but MI in the PostRA scheduler. |
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
769 | Yeah I just meant as a null check. |
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
769 | Same thing, but a little bit more source ;) |
Comment Actions
It is in the list of all dag nodes, somehow dag builder put it there. I suspect that this is for scheduling barrier. The node is neither MI nor SDNode (obviously), just plain zero initialized.
Comment Actions
I vaguely remember this being how nops are represented, and one does seem to have been inserted
There is SUnit::isInstr() also