summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocBase.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-06-07 01:48:43 +0000
committerAndrew Trick <atrick@apple.com>2014-06-07 01:48:43 +0000
commit7f1ebbeb8fdcae821ec5ae32d3bcb6c428016663 (patch)
tree0f061f0103490173db93e676f8ff9f988174b6a3 /llvm/lib/CodeGen/RegAllocBase.cpp
parent86f673a0055120a3dfae56b96a0dde803ea0348c (diff)
downloadbcm5719-llvm-7f1ebbeb8fdcae821ec5ae32d3bcb6c428016663.tar.gz
bcm5719-llvm-7f1ebbeb8fdcae821ec5ae32d3bcb6c428016663.zip
Fix the MachineScheduler's logic for updating ready times for in-order.
Now the scheduler updates a node's ready time as soon as it is scheduled, before releasing dependent nodes. There was a reason I didn't do this initially but it no longer applies. A53 is in-order and was running into an issue where nodes where added to the readyQ too early. That's now fixed. This also makes it easier for custom scheduling strategies to build heuristics based on the actual cycles that the node was scheduled at. The only impact on OOO (sandybridge/cyclone) is that ready times will be slightly more accurate. I didn't measure any significant regressions. llvm-svn: 210390
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud