[all-commits] [llvm/llvm-project] 8a469d: [mlir] remove unnecessary atomic_rmw expansions (#...

ftynse via All-commits all-commits at lists.llvm.org
Wed Jun 18 04:33:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a469da8b2342dd9104faf25deeddd8ad66ca6a6
      https://github.com/llvm/llvm-project/commit/8a469da8b2342dd9104faf25deeddd8ad66ca6a6
  Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/ExpandOps.cpp
    M mlir/test/Dialect/MemRef/expand-ops.mlir

  Log Message:
  -----------
  [mlir] remove unnecessary atomic_rmw expansions (#144515)

The expansion of `memref.atomic_rmw` into a `memref.generic_atomic_rmw`
for floating-point min/max operations is no longer necessary as those
are now supported by the LLVM dialect and LLVM IR.

Furthermore, combining this expansion with direct lowering of
`generic_atomic_rmw` could leads to invalid LLVM dialect IR with
`cmpxchg` operating on floating-point values that it does not support.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list