This patch adds documentation for SPIR-V to LLVM conversion. It describes the approaches taken and what is currently supported by this conversion framework.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This is awesome doc! Thanks George!
| mlir/docs/SPIRVToLLVMDialectConversion.md | ||
|---|---|---|
| 43 | A SPIR-V pointer .. | |
| 47 | Shorten this line? | |
| 73 | ... one would place struct members explicitly at particular offsets. | |
| 90 | I think we want to use <some-spirv> -> <some-llvm> instead of put the llvm part in comment. | |
| 100 | Let's call them as "not implemented". There is a difference between not implemented at the moment vs. it will never be supported. | |
| 119 | And empty line before the table? | |
| 168 | Bitfield ops?? | |
| 214 | s/safe/permitted/ | |
| 325 | s/supported/possible/ | |
| 357 | I think we will eventually have a dedicated ## section for control flow ops. But it's fine to be here for now given it's empty at the moment. :) | |
| 383 | I think this can be a ## section ? | |
| 433 | This should be ### . | |
| 449 | ... This is correct because in SPIR-V, like LLVM, how to interpret an integer number is also dictated by the opcode. But in reality hardware implementation might show unexpected behavior.. | |
| 461 | Might want to make this as ##. | |
| 538 | Not implemented This should be part of the operation section and be a ### header? | |
Addressed comments. Also restructured ops section so that there are the following groups:
- ops
- control flow
- decorations
- function
- GLSL set
- module
A SPIR-V pointer ..