Support OpImageType in SPIRV Dialect.
This change doesn't support operand AccessQualifier since it is optinal and only enables under Kernel capability.
co-authored-by: Alan Liu <alanliu.yf@gmail.com>
Differential D95580
[mlir][spirv] Add support for OpImageType Weiwei-2021 on Jan 27 2021, 6:32 PM. Authored by
Details Support OpImageType in SPIRV Dialect. This change doesn't support operand AccessQualifier since it is optinal and only enables under Kernel capability. co-authored-by: Alan Liu <alanliu.yf@gmail.com>
Diff Detail Event Timeline
Comment Actions Looks awesome! I just have a few nits here. Thanks for pushing on it!
Comment Actions Fix a numbering issue in test.
Comment Actions Awesome, just one final nit from me.
Comment Actions Oops, sorry the patch (https://github.com/llvm/llvm-project/commit/21f1462106b9ee1e646bf409c85528828320b34e) gotten landed has incorrect author. So I reverted it. Could you let me know the Author field I should use for submitting the patch? Comment Actions @antiagainst Thank you for start mering this commit! The author filed is "Weiwei Li <weiwei.li1@huawei.com>". Comment Actions Awesome, thanks! Fixed and relanded as https://github.com/llvm/llvm-project/commit/35f746c17fd0315b235050c0a350fc521f944f20. |
small nit: I think the following if condition is more appropriate for this check. We can remove this line.
(Hope you don't mind me passing by :) ).