[all-commits] [llvm/llvm-project] 51cbe4: [mlir] Fix broadcasting check with 1 values

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Sun Jul 11 20:42:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51cbe4e58797d85c0f17d4a9cad1bcb11743afae
      https://github.com/llvm/llvm-project/commit/51cbe4e58797d85c0f17d4a9cad1bcb11743afae
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2021-07-11 (Sun, 11 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Traits.cpp
    M mlir/test/Dialect/traits.mlir

  Log Message:
  -----------
  [mlir] Fix broadcasting check with 1 values

The trait was inconsistent with the other broadcasting logic here. And
also fix printing here to use ? rather than -1 in the error.

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




More information about the All-commits mailing list