summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-11 18:05:23 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-11 18:05:23 +0000
commitb24953bbfbc99b21d01ffaf673e11a44b4951b90 (patch)
treead4902d3895fb37bef00debd247744f828ead0a6 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent7f321d8c24e6e70af594c12cafe7cc2fe132ce67 (diff)
downloadbcm5719-llvm-b24953bbfbc99b21d01ffaf673e11a44b4951b90.tar.gz
bcm5719-llvm-b24953bbfbc99b21d01ffaf673e11a44b4951b90.zip
[llvm-mca] Let the Scheduler notify dispatch stall events caused by the lack of scheduling resources.
This patch moves part of the logic that notifies dispatch stall events from the DispatchUnit to the Scheduler. The main goal of this patch is to remove (yet another) dependency between the DispatchUnit and the Scheduler. Before this patch, the DispatchUnit had to know about `Scheduler::Event` and how to classify stalls due to the lack of scheduling resources. This patch removes that knowledge and simplifies the logic in DispatchUnit::checkScheduler. This is another change done in preparation for the work to fix PR36663. No functional change intended. llvm-svn: 329835
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud