diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-04-13 00:24:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 00:24:12 +0200 |
commit | 9bd10853e505b61f5fe2e3b3592c76787a06aa31 (patch) | |
tree | c81e973c8a2d6d0acdc871028935caba03bde6d5 /clang/lib/Basic/Module.cpp | |
parent | 0d2bb7f017f13ceae793fab7d83d3e67e8d8d8f8 (diff) | |
download | llvm-9bd10853e505b61f5fe2e3b3592c76787a06aa31.zip llvm-9bd10853e505b61f5fe2e3b3592c76787a06aa31.tar.gz llvm-9bd10853e505b61f5fe2e3b3592c76787a06aa31.tar.bz2 |
AMDGPU: Undo atomicrmw add/sub/xor 0 -> atomicrmw or canonicalization (#87533)
InstCombine transforms add of 0 to or of 0. For system atomics, this is
problematic because while PCIe supports add, it does not support the
other operations. Undo this for system scope atomics.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions