Unverified Commit 3a6f02a6 authored by Max191's avatar Max191 Committed by GitHub
Browse files

[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
parent e88a1ce0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment