summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-09-19 16:05:11 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-09-19 16:05:11 +0000
commite0900f285bb532790ed494df901f87c5c8b904da (patch)
treeaf3d795ab05e1ce2b7ebbb14f24c1c406892e845 /llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
parent7cb60fb00f545dae7e161d8b7c24d674d7d008f9 (diff)
downloadbcm5719-llvm-e0900f285bb532790ed494df901f87c5c8b904da.tar.gz
bcm5719-llvm-e0900f285bb532790ed494df901f87c5c8b904da.zip
[MCA] Improved cost computation for loop carried dependencies in the bottleneck analysis.
This patch introduces a cut-off threshold for dependency edge frequences with the goal of simplifying the critical sequence computation. This patch also removes the cost normalization for loop carried dependencies. We didn't really need to artificially amplify the cost of loop-carried dependencies since it is already computed as the integral over time of the delay (in cycle). In the absence of backend stalls there is no need for computing a critical sequence. With this patch we early exit from the critical sequence computation if no bottleneck was reported during the simulation. llvm-svn: 372337
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGInstrs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud