[all-commits] [llvm/llvm-project] a48bde: q[mlir][Vector] Add a ShapeCastOp(BroadcastOp) can...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue Jun 28 09:49:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a48bdee6866c79275bcf650a57c6c19fdf63991e
      https://github.com/llvm/llvm-project/commit/a48bdee6866c79275bcf650a57c6c19fdf63991e
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

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

  Log Message:
  -----------
  q[mlir][Vector] Add a ShapeCastOp(BroadcastOp) canonicalization pattern

This pattern can kick in when the source of the broadcast has a shape
that is a prefix/suffix of the result of the shape_cast.

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




More information about the All-commits mailing list