[all-commits] [llvm/llvm-project] 25a20b: [mlir] Correct verifyCompatibleShapes

Tres via All-commits all-commits at lists.llvm.org
Thu Mar 11 04:04:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25a20b8aa68e6fa6129f1ce4d0125365f399b59d
      https://github.com/llvm/llvm-project/commit/25a20b8aa68e6fa6129f1ce4d0125365f399b59d
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M mlir/include/mlir/IR/TypeUtilities.h
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/IR/TypeUtilities.cpp
    M mlir/test/IR/traits.mlir

  Log Message:
  -----------
  [mlir] Correct verifyCompatibleShapes

verifyCompatibleShapes is not transitive. Create an n-ary version and
update SameOperandShapes and SameOperandAndResultShapes traits to use
it.

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




More information about the All-commits mailing list