Both, shape.broadcast and shape.cstr_broadcastable accept dynamic and static
extent tensors. If their operands are casted, we can use the original value
instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D101376
[MLIR][Shape] Canonicalize casted extent tensor operands ClosedPublic Authored by frgossen on Apr 27 2021, 9:17 AM.
Details Summary Both, shape.broadcast and shape.cstr_broadcastable accept dynamic and static
Diff Detail
Event Timelinefrgossen added a child revision: D101377: [MLIR][Shape] Concretize broadcast result type if possible.Apr 27 2021, 9:19 AM pifon2a added inline comments. This revision is now accepted and ready to land.Apr 27 2021, 9:24 AM This revision was landed with ongoing or failed builds.Apr 28 2021, 2:52 AM Closed by commit rGcb393f4c99c1: [MLIR][Shape] Canonicalize casted extent tensor operands (authored by frgossen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 341115 mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/canonicalize.mlir
|
Casted?