UnstableChanges

Summary

  1. [mlir] Generalize broadcastable trait operands (details)
  2. [NFC] small rename of private member in InlineCost.cpp (details)
Commit b70e4efb75bf1670fa335f3211c05b26b060ffde by jpienaar
[mlir] Generalize broadcastable trait operands
Summary: Generalize broadcastable trait to variadic operands. Update the
documentation that still talked about element type as part of
broadcastable trait (that bug was already fixed). Also rename
Broadcastable to ResultBroadcastableShape to be more explicit that the
trait affects the result shape (it is possible for op to allow
broadcastable operands but not have result shape that is broadcast
compatible with operands).
Doing some intermediate work to have getBroadcastedType take an optional
elementType as input and use that if specified, instead of the common
element type of type1 and type2 in this function.
Differential Revision: https://reviews.llvm.org/D72559
The file was modifiedmlir/test/Dialect/traits.mlir
The file was modifiedmlir/docs/Traits.md
The file was modifiedmlir/include/mlir/Dialect/Traits.h
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/Dialect/Traits.cpp
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
Commit 2e42cc7a50e867d939cac6ee3d375a85a30b984d by mtrofin
[NFC] small rename of private member in InlineCost.cpp
Summary: Follow-up from https://reviews.llvm.org/D71733. Also moved an
initialization to the base class, where it belonged in the first place.
Reviewers: eraman, davidxl
Reviewed By: davidxl
Subscribers: hiraditya, haicheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72949
The file was modifiedllvm/lib/Analysis/InlineCost.cpp