Following the example of VectorOfAnyRankOf, I've done a few changes in the
.td files to help with adding the support for the 0-D case gradually.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM. Note that MLIR does not have any requirements for transition to be anyhow gradual. It does simplify the review, but that's all.
mlir/include/mlir/IR/OpBase.td | ||
---|---|---|
841 | Nit: please consider adding a TODO: marker with "remove this when <X> is done" or a similar comment. Otherwise, this "temporary constraint" has big chances of becoming permanent :) | |
844 | (I know this was not introduced in the present patch): one of the Of in VectorOfAnyRankOf sounds redundant. |
Thanks for the review! Could you land this? (I don't have commit access)
mlir/include/mlir/IR/OpBase.td | ||
---|---|---|
844 | This sound ok to me, as in "vector of any rank, of integers". In any case, since this is temporary, I'd prefer to just leave it as is. CCing @nicolasvasilache in case he has an opinion :) |
mlir/include/mlir/IR/OpBase.td | ||
---|---|---|
844 | The goal is to retire this and get back to simply VectorOf, the bigger the wart the simpler the cleanup? |
test is broken due to:
// Warning: these must be called in their textual order of definition in the // file to not mess up FileCheck.
fixing and landing
Nit: please consider adding a TODO: marker with "remove this when <X> is done" or a similar comment. Otherwise, this "temporary constraint" has big chances of becoming permanent :)