This patch doesn't support the optional operands of ImageDrefGather. The support of optional operands will be implemented later.
co-authered-by: Alan Liu <alanliu.yf@gmail.com>
Paths
| Differential D100128
[mlir][spirv] Define spv.ImageDrefGather operation ClosedPublic Authored by Weiwei-2021 on Apr 8 2021, 10:31 AM.
Details Summary This patch doesn't support the optional operands of ImageDrefGather. The support of optional operands will be implemented later. co-authered-by: Alan Liu <alanliu.yf@gmail.com>
Diff Detail Event TimelineComment Actions Cool, just two minor issue. BTW, do you still need me to land the patches from now on? I assume you have commit access now given https://github.com/llvm/llvm-project/commit/63e676ffff6fd57e731412f7d905ef9044d716bf?
This revision is now accepted and ready to land.Apr 8 2021, 10:56 AM Comment Actions
Thank you for reviewing. Also thanks for helping me land patches all the time. I will fix the two issues and land the patch by myself. :) Comment Actions
SG. Just land after fixing them. No need for re-reviewing. :) Closed by commit rG12ffc260678d: [mlir][spirv] Define spv.ImageDrefGather operation (authored by Weiwei-2021). · Explain WhyApr 8 2021, 5:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 336161 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/image-ops.mlir
mlir/test/Target/SPIRV/image-ops.mlir
|
s/dyn_cast/cast/ as it is already guaranteed by ODS-generated checks.