[Mlir-commits] [mlir] [MLIR][XeGPU] XeVM lowering support for load_matrix/store_matrix (PR #162780)
Sang Ik Lee
llvmlistbot at llvm.org
Fri Oct 10 14:05:55 PDT 2025
================
@@ -991,7 +991,7 @@ struct WgToSgLoadMatrixOp : public OpConversionPattern<xegpu::LoadMatrixOp> {
return failure();
ArrayRef<int64_t> wgShape = op.getDataShape();
- VectorType valueTy = op.getRes().getType();
+ VectorType valueTy = llvm::dyn_cast<VectorType>(op.getRes().getType());
----------------
silee2 wrote:
Segfault will happen in the next line if `dyn_cast` fails.
https://github.com/llvm/llvm-project/pull/162780
More information about the Mlir-commits
mailing list