[all-commits] [llvm/llvm-project] 94ebcf: [mlir][vector] Fix crash in ReorderCastOpsOnBroadc...

Men-cotton via All-commits all-commits at lists.llvm.org
Tue Dec 9 08:38:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94ebcfd16dac67486bae624f74e1c5c789448bae
      https://github.com/llvm/llvm-project/commit/94ebcfd16dac67486bae624f74e1c5c789448bae
  Author: Men-cotton <mencotton0410 at gmail.com>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

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

  Log Message:
  -----------
  [mlir][vector] Fix crash in ReorderCastOpsOnBroadcast with non-vector result (#170985)

Fixes a crash in `ReorderCastOpsOnBroadcast` by ensuring the cast result
is a `VectorType` before applying the pattern.
A regression test has been added to
mlir/test/Dialect/Vector/vector-sink.mlir.

Fixes: #126371



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