We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96da366 commit 45a7de2Copy full SHA for 45a7de2
mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
@@ -294,8 +294,8 @@ LogicalResult LoadNdOp::verify() {
294
auto valueShape = getShapeOf(valueTy);
295
296
if (getTranspose()) {
297
- // Make sure the transpose value is valid, and apply it
298
auto trans = getTranspose().value();
+ // Make sure the transpose value is valid, and apply it
299
if (llvm::all_of(trans, [&](size_t s) { return s < tdescShape.size(); }))
300
tdescShape = applyPermutation(tdescShape, trans);
301
else
0 commit comments