This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix mfma scheduling crash
ClosedPublic

Authored by rampitec on Oct 24 2019, 10:41 AM.

Details

Summary

An SUnit can be neither intruction not SDNode. It is all
null if represents a nop. Fixed a crash on using SU->getInstr().

Diff Detail

Event Timeline

rampitec created this revision.Oct 24 2019, 10:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2019, 10:41 AM
hliao accepted this revision.Oct 24 2019, 10:49 AM

LGTM

This revision is now accepted and ready to land.Oct 24 2019, 10:49 AM
This revision was automatically updated to reflect the committed changes.