summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/TaskQueueTest.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-27 11:17:07 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-27 11:17:07 +0000
commiteb1bef60b9cf87ff83c343131f8d972294b9472e (patch)
treef9bea146e1e5b907a2a3cc9176be7af6ade9281c /llvm/unittests/Support/TaskQueueTest.cpp
parent41afbcb9ca3b200f9f35d34c5335b45769f4cb35 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud