[all-commits] [llvm/llvm-project] 9a4609: [mlir][Vector] Allow elementwise/broadcast swap to...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Wed Jul 30 09:36:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a46091d4b996ce0511f4baf6ebbe1f0706d0d0e
      https://github.com/llvm/llvm-project/commit/9a46091d4b996ce0511f4baf6ebbe1f0706d0d0e
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-sink.mlir

  Log Message:
  -----------
  [mlir][Vector] Allow elementwise/broadcast swap to handle mixed types (#151274)

This patch extends the operation that rewrites elementwise operations
whose inputs are all broadcast from the same shape to handle
mixed-types, such as when the result and input types don't match, or
when the inputs have multiple types.

PR #150867 failed to check for the possibility of type mismatches when
rewriting splat constants. In order to fix that issue, we add support
for mixed-type operations more generally.



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