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

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jun 18 06:16:04 PDT 2024


  Branch: refs/heads/users/matthias-springer/vector_extract_bc_crash
  Home:   https://github.com/llvm/llvm-project
  Commit: dca6fb9d94a2b598efc6973932df204c016ed5c0
      https://github.com/llvm/llvm-project/commit/dca6fb9d94a2b598efc6973932df204c016ed5c0
  Author: Matthias Springer <mspringer at nvidia.com>
  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

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