[PATCH] D59480: [NFC] Add SchedState to allow forwarding the Scheduling state between MBB
Qing Shan Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 17 23:03:26 PDT 2019
steven.zhang created this revision.
steven.zhang added reviewers: MatzeB, hfinkel, javed.absar, fhahn, echristo, atrick.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This is a NFC patch to improve the Generic scheduler to allow forwarding the scheduling state between MBB. A new class named SchedState is added to keep all the scheduling state that could be forwarded to next MBB.
Later patch would be committed to leverage this to improve the scheduler for some target.
If MBB2 has single pred MBB1, the MBB1's scheduler state could be forwarded to MBB2 to model the scheduler more precise.
https://reviews.llvm.org/D59480
Files:
llvm/include/llvm/CodeGen/MachineScheduler.h
llvm/lib/CodeGen/MachineScheduler.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59480.191055.patch
Type: text/x-patch
Size: 22937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190318/d0f3d667/attachment-0001.bin>
More information about the llvm-commits
mailing list