[Mlir-commits] [mlir] [mlir][spirv] Add definition for selected sample operations (PR #129558)
Andrea Faulds
llvmlistbot at llvm.org
Fri Mar 7 06:05:31 PST 2025
================
@@ -51,10 +52,15 @@ class SPIRV_NoneOrElementMatchImage<string operand, string image, string transfo
CPred<"::llvm::isa<NoneType>(cast<ImageType>(" # !subst("$_self", "$" # image # ".getType()", transform) # ").getElementType()) ||"
"(getElementTypeOrSelf($" # operand # ")"
"=="
- "cast<ImageType>(" # !subst("$_self", "$" # image # ".getType()", transform) # ").getElementType())"
+ "cast<::mlir::spirv::ImageType>(" # !subst("$_self", "$" # image # ".getType()", transform) # ").getElementType())"
----------------
andfau-amd wrote:
Any particular reason this change was made? The cast on line 52 (I haven't looked for others) isn't changed...
https://github.com/llvm/llvm-project/pull/129558
More information about the Mlir-commits
mailing list