[Mlir-commits] [mlir] [mlir][xegpu] Improve XeGPU op verification logic for SIMT flavor and update tests. (PR #127920)

Charitha Saumya llvmlistbot at llvm.org
Mon Feb 24 11:34:38 PST 2025


================
@@ -608,8 +608,8 @@ def XeGPU_LoadGatherOp : XeGPU_Op<"load", [
       return getElementTypeOrSelf(type);
     }
 
-    Type getValueType() {
-      return getValue().getType();
+    VectorType getValueType() {
+      return llvm::dyn_cast<VectorType>(getValue().getType());
----------------
charithaintc wrote:

added it. thanks! this now has the same getters as the Nd variants. 

https://github.com/llvm/llvm-project/pull/127920


More information about the Mlir-commits mailing list