diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-07-26 09:57:28 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 09:57:28 +0400 |
commit | e108853ac8fad27ff22be9303c87d90bcdf0ef53 (patch) | |
tree | 81340202616801e8bcbea6ee4334dfb28415ec98 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 70a9535f714e2fdb84af243a1a316012c8019049 (diff) | |
download | llvm-e108853ac8fad27ff22be9303c87d90bcdf0ef53.zip llvm-e108853ac8fad27ff22be9303c87d90bcdf0ef53.tar.gz llvm-e108853ac8fad27ff22be9303c87d90bcdf0ef53.tar.bz2 |
clang: Allow targets to set custom metadata on atomics (#96906)
Use this to replace the emission of the amdgpu-unsafe-fp-atomics
attribute in favor of per-instruction metadata. In the future
new fine grained controls should be introduced that also cover
the integer cases.
Add a wrapper around CreateAtomicRMW that appends the metadata,
and update a few use contexts to use it.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions