The documentation has become a bit stale with age, and doesn't include great documentation for some newer concepts. This revision tidies up a majority of it, with some more cleanup to come in the future. The documentation for the declarative specification is also moved from OpDefinitions.md to Interfaces.md, which is a much more logical place for it to live.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
60 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
Event Timeline
mlir/docs/Interfaces.md | ||
---|---|---|
148 | Is the text clearly describing the difference / the point between the two types of hooks? Especially here where the name says "static" but the implementation is just a regular virtual method,. | |
163 | Why do we need an OperationName as argument here? | |
255 | ||
262 | ||
269 | ||
300 | The description is a bit "dry" here: it'd be nice to provide more info to contrast MethodBody and DefaultImplementation so that the reader really understands when to use each. I'd also clarify the impact of defining the implementation for MethodBody/DefaultImplementation on what is/isn't generated in the trait (mentioned in the example below) |
mlir/docs/Interfaces.md | ||
---|---|---|
300 | Added more detail and completely revamped the old examples, PTAL. |
Is the text clearly describing the difference / the point between the two types of hooks?
Especially here where the name says "static" but the implementation is just a regular virtual method,.