[all-commits] [llvm/llvm-project] 552f80: [mlir][vector] Fix crash when folding 0D extract f...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jun 18 07:26:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 552f80a97982c30e3cb1bde2223e923a2e3a47e8
      https://github.com/llvm/llvm-project/commit/552f80a97982c30e3cb1bde2223e923a2e3a47e8
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][vector] Fix crash when folding 0D extract from splat/broadcast (#95918)

There was an assertion in the folder that caused a crash when extracting
from a vector that is defined by an op with 0D semantics. This commit
removes the assertion and adds test cases to ensure that 0D scenarios
are handled correctly.



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