std.dim currently only accepts ranked memrefs and std.rank is limited to tensors.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Please fix the broken test.
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | ||
---|---|---|
1412 | Irrelevant to this commit, but I find it confusing that AnyRankedOrUnrankedMemRef is less strict than AnyMemRef. |
Fix test
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | ||
---|---|---|
1412 | I agree, I found this confusing and got it wrong. I thought about cleaning this up but the problem is that if I modify the type constraints than downstream users will see changes in their dialect and likely won't notice, as we widen the meaning of AnyMemRef. Any ideas on a good process to clean this up? |
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | ||
---|---|---|
1412 | I'd post an announcement on Discourse saying you intend to do this by <date> and give people some time to react. IMO, a week should be okay. |
Irrelevant to this commit, but I find it confusing that AnyRankedOrUnrankedMemRef is less strict than AnyMemRef.