[all-commits] [llvm/llvm-project] 7ce2c3: [mlir][Vector] Add 0-d vector support to 'vector.s...

Diego Caballero via All-commits all-commits at lists.llvm.org
Tue May 23 10:24:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ce2c3d71b552310019f3dc4b0219528226a4778
      https://github.com/llvm/llvm-project/commit/7ce2c3d71b552310019f3dc4b0219528226a4778
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/ops.mlir

  Log Message:
  -----------
  [mlir][Vector] Add 0-d vector support to 'vector.shape_cast`

This patch adds support to shape cast a vector<1x1x1...1xElemenType> to
a vector<ElementType> and the other way around.

Differential Revision: https://reviews.llvm.org/D151169




More information about the All-commits mailing list