Skip to content

Commit bf4c815

Browse files
committed
fix invalid IR test
1 parent 82009c8 commit bf4c815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Dialect/GPU/invalid.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ func.func @mmamatrix_operand_type(){
688688
func.func @mmamatrix_invalid_element_type(){
689689
%wg = memref.alloca() {alignment = 32} : memref<32x32xf16, 3>
690690
%i = arith.constant 16 : index
691-
// expected-error @+1 {{MMAMatrixType elements must be SI8, UI8, I32, F16, or F32}}
691+
// expected-error @+1 {{MMAMatrixType elements must be SI8, UI8, I32, F16, F32, or F64}}
692692
%0 = gpu.subgroup_mma_load_matrix %wg[%i, %i] {leadDimension = 32 : index} : memref<32x32xf16, 3> -> !gpu.mma_matrix<16x16xbf16, "AOp">
693693
return
694694
}
@@ -708,7 +708,7 @@ func.func @mmaLoadOp_identity_layout(){
708708
// -----
709709

710710
func.func @mma_invalid_memref_type(%src: memref<32x4xvector<4x8xf32>>, %i: index) {
711-
// expected-error @+1 {{operand #0 must be memref of 8-bit signless integer or 32-bit signless integer or 16-bit float or 32-bit float or vector of 8-bit signless integer or 32-bit signless integer or 16-bit float or 32-bit float values of ranks 1 values}}
711+
// expected-error @+1 {{operand #0 must be memref of 8-bit signless integer or 32-bit signless integer or 16-bit float or 32-bit float or 64-bit float or vector of 8-bit signless integer or 32-bit signless integer or 16-bit float or 32-bit float or 64-bit float values of ranks 1 values}}
712712
%0 = gpu.subgroup_mma_load_matrix %src[%i, %i] {leadDimension = 4 : index} : memref<32x4xvector<4x8xf32>> -> !gpu.mma_matrix<16x16xf16, "AOp">
713713
return
714714
}

0 commit comments

Comments
 (0)