Canonicalize is_broadcastable to constant true if fewer than 2 unique shape
operands. Eliminate redundant operands, otherwise.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D98361
[MLIR] Add canoncalization for `shape.is_broadcastable` ClosedPublic Authored by frgossen on Mar 10 2021, 10:20 AM.
Details Summary Canonicalize is_broadcastable to constant true if fewer than 2 unique shape
Diff Detail
Event Timeline
This revision was landed with ongoing or failed builds. Closed by commit rGb975e3b5aa8c: [MLIR] Add canoncalization for `shape.is_broadcastable` (authored by frgossen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 329870 mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/canonicalize.mlir
|
llvm::is_contained