summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
diff options
context:
space:
mode:
authorTim Corringham <tcorring@amd.com>2017-12-04 12:30:49 +0000
committerTim Corringham <tcorring@amd.com>2017-12-04 12:30:49 +0000
commit6c6d5e24cdc0e03c8c70a789f7c8807f06cc8779 (patch)
tree694ddd297579e1f7b9c2e7766fb83892b2874875 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
parent64fc9cf2e50e8b7b91d50df480d8692364c9705a (diff)
downloadbcm5719-llvm-6c6d5e24cdc0e03c8c70a789f7c8807f06cc8779.tar.gz
bcm5719-llvm-6c6d5e24cdc0e03c8c70a789f7c8807f06cc8779.zip
AMDGPU: fix missing s_waitcnt
Summary: The pass that inserts s_waitcnt instructions where needed propagated info used to track dependencies for each block by iterating over the predecessor blocks. The iteration was terminated when a predecessor that had not yet been processed was encountered. Any info in blocks later in the list was therefore not processed, leading to the possiblility of a required s_waitcnt not being inserted. The fix is simply to change the "break" to "continue" for the relevant loops, so that all visited blocks are processed. This is likely what was intended when the code was written. There is no test case provided for this fix because: 1) the only example that reproduces this is large and resistant to being reduced 2) the change is trivial Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye Differential Revision: https://reviews.llvm.org/D40544 llvm-svn: 319651
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud