[Mlir-commits] [mlir] [mlir][xegpu] Improve XeGPU op verification logic for SIMT flavor and update tests. (PR #127920)
Adam Siemieniuk
llvmlistbot at llvm.org
Mon Feb 24 02:27:17 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());
----------------
adam-smnk wrote:
Please also double check if these ops' verifiers ensure it is a vector.
https://github.com/llvm/llvm-project/pull/127920
More information about the Mlir-commits
mailing list