diff options
author | Max191 <44243577+Max191@users.noreply.github.com> | 2023-11-28 14:51:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 11:51:30 -0800 |
commit | 3a6f02a6581b49b269710eea944dc114166403ed (patch) | |
tree | 2766b49937861f113be2f1f25c7ee1cfd56c0272 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e88a1ce0137bc14b754b86313228fdc48ba737f3 (diff) | |
download | llvm-3a6f02a6581b49b269710eea944dc114166403ed.zip llvm-3a6f02a6581b49b269710eea944dc114166403ed.tar.gz llvm-3a6f02a6581b49b269710eea944dc114166403ed.tar.bz2 |
[mlir] Add subbyte emulation support for `memref.store`. (#73174)
This adds a conversion for narrow type emulation of memref.store ops.
The conversion replaces the memref.store with two memref.atomic_rmw ops.
Atomics are used to prevent race conditions on same-byte accesses, in
the event that two threads are storing into the same byte.
Fixes https://github.com/openxla/iree/issues/15370
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions