This corresponds with the previous work to make shape.broadcast nary.
Additionally, simplify the ConvertShapeConstraints pass. It now doesn't
lower an implicit shape.is_broadcastable. This is still the same in
combination with shape-to-standard when the 2 passes are used in either
order.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | ||
---|---|---|
221 | Is the error something like type not buildable? In that case you could add the missing C++ for the type, I think. | |
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp | ||
242 | They can be shapes, can't they? |
Address code cleanup comments.
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | ||
---|---|---|
221 | I was just getting compile time errors right after the table-gen'ed code. It wasn't at runtime. Any pointers to code snippets would be welcomed though. I couldn't figure out what to do. | |
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp | ||
242 | Thanks for catching that. Done. |
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | ||
---|---|---|
221 | I meant BuildableType in mlir/include/mlir/IR/OpBase.td. |
Is the error something like type not buildable? In that case you could add the missing C++ for the type, I think.