Details
- Reviewers
rriddle nicolasvasilache
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/docs/BytecodeFormat.md | ||
---|---|---|
411 | So the number of instances here is not required as below one require a version for every dialect? (even if there is 1 dialect without a version, it is cheaper to have a varint for number of versioned dialects here up to 511 dialects in file it would seem) | |
mlir/include/mlir/IR/OpImplementation.h | ||
473 | Why should this be in OpImplementation.h instead of localized to Bytecode? (it seems like nothing actually queries it outside there) | |
mlir/lib/Bytecode/Reader/BytecodeReader.cpp | ||
440 | Handle feels misleading, this is raw data from which version will be extracted. | |
1389 | Should this be checked in the verify required sections function? Also, why is it required? E.g., what if I just want to use within same rev build? | |
mlir/test/Bytecode/versioning/versioned_op.mlir | ||
2 | Outdated. | |
42 | Could you also add example of what .mlir input with version looks like? |
Marked as abandoned, @mfrancio will merge this all into https://reviews.llvm.org/D143647
mlir/docs/BytecodeFormat.md | ||
---|---|---|
411 | I haven't updated the doc from the revision I took as a basis, please ignore this file :) | |
mlir/include/mlir/IR/OpImplementation.h | ||
473 | Absolutely! | |
mlir/lib/Bytecode/Reader/BytecodeReader.cpp | ||
1389 | This is a nested section, we can't verify early I think. It is not as much "required" as we don't expect any other section here, and I'm not sure how to express an optional section? (so we'll always write an empty one) | |
mlir/lib/Bytecode/Writer/BytecodeWriter.cpp | ||
373 | Code above is pure code motion because of DialectWriter used in BytecodeWriter::writeDialectSection() below. | |
mlir/test/Bytecode/versioning/versioned_op.mlir | ||
42 | We won't support any version in .mlir file right now (tests are outdated) |
So the number of instances here is not required as below one require a version for every dialect? (even if there is 1 dialect without a version, it is cheaper to have a varint for number of versioned dialects here up to 511 dialects in file it would seem)