Implements better naming for results of spv.Constant ops by making it
inherit from OpAsmOpInterface and implementing the associated
getAsmResultName(...) hook.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td | ||
---|---|---|
72 | Nit: sort alphabetically? | |
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | ||
1682 | Vector type in SPIR-V can only be 1-D. That should already be guaranteed by the verifier. So we can just get the first dim here. | |
mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir | ||
10 | Add a test for negative number? |
Comment Actions
Handle review comments.
mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir | ||
---|---|---|
2 | Sorry, all of them are copy paste errors. |
Nit: sort alphabetically?