diff options
author | Jun Wang <jwang86@yahoo.com> | 2024-04-10 10:47:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 10:47:04 -0700 |
commit | 86842e1f724fba5abae50ce438553895e69b8141 (patch) | |
tree | 942a896bc8f223603ce898cf7e7212f402e3ffed /clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp | |
parent | f27f3697108470c3e995cf3cb454641c22ec1fa9 (diff) | |
download | llvm-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