The current transformation to shape.reduce does not support tensor values.
This adds the required changes to make that work, including fixing the builder
for shape.reduce.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84744
[MLIR][Shape] Support transforming shape.num_elements on tensors ClosedPublic Authored by herhut on Jul 28 2020, 4:24 AM.
Details Summary The current transformation to shape.reduce does not support tensor values.
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptJul 28 2020, 4:27 AM This revision is now accepted and ready to land.Jul 28 2020, 4:31 AM This revision was landed with ongoing or failed builds.Jul 28 2020, 5:13 AM Closed by commit rG6d10d317d8b0: [MLIR][Shape] Support transforming shape.num_elements on tensors (authored by herhut). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 281193 mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/lib/Dialect/Shape/Transforms/ShapeToShapeLowering.cppmlir/test/Dialect/Shape/shape-to-shape.mlir
|
I think these braces can be removed.