[all-commits] [llvm/llvm-project] acaf85: Add convenience function for checking arrays of sh...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Jan 28 10:48:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acaf85f7000e69766f5a86a52bff0becc50aaa91
      https://github.com/llvm/llvm-project/commit/acaf85f7000e69766f5a86a52bff0becc50aaa91
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

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

  Log Message:
  -----------
  Add convenience function for checking arrays of shapes compatible.

Expand existing one to handle the common case for verifying compatible
is existing and inferred. This considers arrays equivalent if they they
have the same size and pairwise compatible elements.




More information about the All-commits mailing list