diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-06-27 11:17:07 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-06-27 11:17:07 +0000 |
commit | eb1bef60b9cf87ff83c343131f8d972294b9472e (patch) | |
tree | f9bea146e1e5b907a2a3cc9176be7af6ade9281c /llvm/unittests/Support/TaskQueueTest.cpp | |
parent | 41afbcb9ca3b200f9f35d34c5335b45769f4cb35 (diff) | |
download | bcm5719-llvm-eb1bef60b9cf87ff83c343131f8d972294b9472e.tar.gz bcm5719-llvm-eb1bef60b9cf87ff83c343131f8d972294b9472e.zip |
[llvm-mca] Avoid calling method update() on instructions that are already in the IS_READY state. NFCI
When promoting instructions from the wait queue to the ready queue, we should
check if an instruction has already reached the IS_READY state before
calling method update().
llvm-svn: 335722
Diffstat (limited to 'llvm/unittests/Support/TaskQueueTest.cpp')
0 files changed, 0 insertions, 0 deletions