Page MenuHomePhabricator

[ScheduleDAG][NFC] Use MCInstrDesc API to check PhysReg definition.

Authored by dantrushin on Jun 8 2020, 7:06 AM.



Use API provided by MCInstrDesc to check if instruction implicitly
defines physical register instead of direct unchecked access to
MCInstrDesc::ImplicitDefs array (which might be null).
This makes CheckForPhysRegDependency() more robust.

Diff Detail

Event Timeline

dantrushin created this revision.Jun 8 2020, 7:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2020, 7:06 AM
dantrushin abandoned this revision.Aug 3 2020, 9:43 AM

This was landed as part of larger patch (D81648) for which this was a blocker. Abandoning this review.