Page MenuHomePhabricator

[AMDGPU] Fix getInstrLatency() always returning 1

Authored by rampitec on Jan 13 2020, 2:48 PM.



We do not have InstrItinerary so generic getInstLatency() was always
defaulting to return 1 cycle. We need to use TargetSchedModel instead
to compute an instruction's latency.

Diff Detail

Event Timeline

rampitec created this revision.Jan 13 2020, 2:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2020, 2:48 PM
arsenm accepted this revision.Jan 13 2020, 7:25 PM
This revision is now accepted and ready to land.Jan 13 2020, 7:25 PM
This revision was automatically updated to reflect the committed changes.