This is an archive of the discontinued LLVM Phabricator instance.

[llvm-mca] Move DispatchStage::cycleEvent to preExecute. NFC.
ClosedPublic

Authored by mattd on May 22 2018, 12:00 PM.

Details

Summary

This is an intermediate change, it moves the non-notification logic from
Backend::notifyCycleBegin to runCycle().

Once the scheduler becomes part of the Execution stage
the explicit call to Scheduler::cycleEvent will disappear.

The logic for Dispatch::cycleEvent() can be in
the preExecute phase, which this patch addresses.

Diff Detail

Repository
rL LLVM

Event Timeline

mattd created this revision.May 22 2018, 12:00 PM
andreadb accepted this revision.May 22 2018, 12:37 PM

LGTM.

Thanks

This revision is now accepted and ready to land.May 22 2018, 12:37 PM
This revision was automatically updated to reflect the committed changes.