aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorBaptiste Saleil <baptiste.saleil@amd.com>2022-06-23 10:16:20 -0400
committerBaptiste Saleil <baptiste.saleil@amd.com>2022-06-23 10:53:21 -0400
commit79e77a9f39f02a18e839f8138035c958b54e11a1 (patch)
tree4f25fca9bf82e3a4ffa252067e8ce7f51c1b49b8 /lldb/source/Commands/CommandObjectScript.cpp
parent851a5efe45a026047ba8c0262a892b9895e355bf (diff)
downloadllvm-79e77a9f39f02a18e839f8138035c958b54e11a1.zip
llvm-79e77a9f39f02a18e839f8138035c958b54e11a1.tar.gz
llvm-79e77a9f39f02a18e839f8138035c958b54e11a1.tar.bz2
[AMDGPU] Flush the vmcnt counter in loop preheaders when necessary
waitcnt vmcnt instructions are currently generated in loop bodies before using values loaded outside of the loop. In some cases, it is better to flush the vmcnt counter in a loop preheader before entering the loop body. This patch detects these cases and generates waitcnt instructions to flush the counter. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D115747
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions