- DynamicTensorFromElementsOp
- TensorFromElements
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | ||
---|---|---|
13 | ReturnLike for YieldOp | |
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | ||
294 | Looks like it doesn't work let arguments = (ins Variadic<Index>:$dynamicExtents); let results = (outs AnyRankedTensor:$result); let regions = (region SizedRegion<1>:$body); let assemblyFormat = "$dynamicExtents $body attr-dict"; $dynamicExtents is not buildable. (I guess Variadic<Index> doesn't get inferred properly?) | |
mlir/lib/Dialect/Tensor/Transforms/PassDetail.h | ||
12 | switched to forward decl. |
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | ||
---|---|---|
294 | Sorry, ignore this. |
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | ||
---|---|---|
13 | Ah right, I was looking for the interfaces and completely forgot ReturnLike was in there too. |
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | ||
---|---|---|
13 | Me too. When I factored it out, I got errors about ReturnLike being missing and it took me some time to remember that it was in there as well (in the end I just grepped for ReturnLike and found it "oh... yeah, I guess it makes sense for it to be there"). |
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | ||
---|---|---|
210 | I don't think we should require this. Can you file a starter bug to look into this(if there isn't one already)? It'd be nice to not require these kind of things, especially because it looks broken in this case (YieldOp expects an argument). |
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | ||
---|---|---|
210 | Good idea. https://bugs.llvm.org/show_bug.cgi?id=48809 |
What are you using from here?