Add the definitions and necessary verifications of these Ops.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Cool, thanks for adding these ops!
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | ||
---|---|---|
1568 | Nit: s/Result/result --- using lower case so it is consistent with other error messages. Also applies to other cases. | |
1569 | This op may not exist in a spirv::ModuleOp --- mlir allows mixing dialects and we can also have temporary situations during conversions that no wrapping spirv::ModuleOp exists. We should actually just return success() if no parent spirv::ModuleOp. Similarly for the other op. |
Thank you so much, updated the revision.
Could you also please help me merge it, if it is accepted. I don't have merge permission.
Thanks in advance.
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | ||
---|---|---|
1569 | I see, thank you so much. |
Nit: s/Result/result --- using lower case so it is consistent with other error messages.
Also applies to other cases.