LLVM (dialect and IR) have atomics for and/or. This patch enables atomic_rmw ops in the standard dialect for and/or that lower to these (in addition to the existing atomics such as addi, etc).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
I wonder why isn't this operation didn't move in the arith dialect as well?
mlir/lib/Analysis/AffineAnalysis.cpp | ||
---|---|---|
1 | Nit: you should install clang-format on your machine |
Nit: you should install clang-format on your machine