Skip to content

Commit f924200

Browse files
authored
[mlir][spirv] TableGen definition SPIRV_Composite to include SPIRV_AnyTensorArm (#147567)
SPIRV_AnyTensorArm is a recently added composite type. This patch adds to the list of composite type represented by SPIRV_Composite. This was missing from a previous [patch](#144667) where SPIRV_AnyTensorArm was introduced. Signed-off-by: Mohammadreza Ameri Mahabadian <mohammadreza.amerimahabadian@arm.com>
1 parent 8438c7d commit f924200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4248,7 +4248,7 @@ def SPIRV_Scalar : AnyTypeOf<[SPIRV_Numerical, SPIRV_Bool]>;
42484248
def SPIRV_Aggregate : AnyTypeOf<[SPIRV_AnyArray, SPIRV_AnyRTArray, SPIRV_AnyStruct]>;
42494249
def SPIRV_Composite :
42504250
AnyTypeOf<[SPIRV_Vector, SPIRV_AnyArray, SPIRV_AnyRTArray, SPIRV_AnyStruct,
4251-
SPIRV_AnyCooperativeMatrix, SPIRV_AnyMatrix]>;
4251+
SPIRV_AnyCooperativeMatrix, SPIRV_AnyMatrix, SPIRV_AnyTensorArm]>;
42524252
def SPIRV_Type : AnyTypeOf<[
42534253
SPIRV_Void, SPIRV_Bool, SPIRV_Integer, SPIRV_AnyFloat, SPIRV_Vector,
42544254
SPIRV_AnyPtr, SPIRV_AnyArray, SPIRV_AnyRTArray, SPIRV_AnyStruct,

0 commit comments

Comments
 (0)