[all-commits] [llvm/llvm-project] 24acad: [mlir][Shape] Make shape_eq nary

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Mar 3 07:28:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24acadef8acb8ed9320b694b6ed4e1dfe2cc58bc
      https://github.com/llvm/llvm-project/commit/24acadef8acb8ed9320b694b6ed4e1dfe2cc58bc
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
    M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
    M mlir/test/Dialect/Shape/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Shape] Make shape_eq nary

This gets rid of a dubious shape_eq %a, %a fold, that folds shape_eq
even if %a is not an Attribute.

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




More information about the All-commits mailing list