Skip to content

Commit 544e77e

Browse files
committed
add comment for bailing unless true 2-D matrix transpose
1 parent 0e213db commit 544e77e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ struct TransposeOpToArmSMELowering
276276
for (auto attr : transposeOp.getTransp())
277277
transp.push_back(cast<IntegerAttr>(attr).getInt());
278278

279+
// Bail unless this is a true 2-D matrix transpose.
279280
if (transp[0] != 1 && transp[1] != 0)
280281
return failure();
281282

0 commit comments

Comments
 (0)