[MCA][Scheduler] Improved critical memory dependency computation.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sun, 26 May 2019 19:50:31 +0000 (19:50 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sun, 26 May 2019 19:50:31 +0000 (19:50 +0000)
commitc2493ce4a40be025054087fde59dd0f339baf6c0
tree2e12f295708675fd649d011f4dfaea1bfbe20ad0
parent06e02856ab5f9e6ce2a4173b4df6736e6cc8f969
[MCA][Scheduler] Improved critical memory dependency computation.

This fixes a problem where back-pressure increases caused by register
dependencies were not correctly notified if execution was also delayed by memory
dependencies.

llvm-svn: 361740
llvm/lib/MCA/HardwareUnits/Scheduler.cpp
llvm/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-3.s