[all-commits] [llvm/llvm-project] a201ba: [mlir][Vector] Add support for 0-d shapes in extra...

Kunwar Grover via All-commits all-commits at lists.llvm.org
Tue Dec 3 16:04:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a201ba1b57aa57df8e31603b496793fa39d31936
      https://github.com/llvm/llvm-project/commit/a201ba1b57aa57df8e31603b496793fa39d31936
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

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

  Log Message:
  -----------
  [mlir][Vector] Add support for 0-d shapes in extract-shape_cast folder (#116650)

The extract <-> shape cast folder was conservatively asserting and
failing on 0-d vectors. This pr fixes this.

This pr also adds more tests for 0d cases and updates related tests to
better reflect what they test.



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