aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
diff options
context:
space:
mode:
authorJun Wang <jwang86@yahoo.com>2024-04-10 10:47:04 -0700
committerGitHub <noreply@github.com>2024-04-10 10:47:04 -0700
commit86842e1f724fba5abae50ce438553895e69b8141 (patch)
tree942a896bc8f223603ce898cf7e7212f402e3ffed /clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
parentf27f3697108470c3e995cf3cb454641c22ec1fa9 (diff)
downloadllvm-86842e1f724fba5abae50ce438553895e69b8141.zip
llvm-86842e1f724fba5abae50ce438553895e69b8141.tar.gz
llvm-86842e1f724fba5abae50ce438553895e69b8141.tar.bz2
[AMDGPU] New clang option for emitting a waitcnt instruction after each memory instruction (#79236)
This patch introduces a new command-line option for clang, namely, amdgpu-precise-mem-op (or precise-memory in the backend). When this option is specified, a waitcnt instruction is generated after each memory load/store instruction. The counter values are always 0, but which counters are involved depends on the memory instruction. --------- Co-authored-by: Jun Wang <jun.wang7@amd.com>
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp')
0 files changed, 0 insertions, 0 deletions