Skip to content

Commit 2016f2c

Browse files
Bogdan Graurjpienaar
authored andcommitted
Fixes warning 'enumeration value not handled in switch'.
This was introduced in commit: 981a0bd. Differential Revision: https://reviews.llvm.org/D93944
1 parent e90ea76 commit 2016f2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/tools/llvm-c-test/echo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ struct TypeCloner {
149149
LLVMGetVectorSize(Src));
150150
case LLVMMetadataTypeKind:
151151
return LLVMMetadataTypeInContext(Ctx);
152+
case LLVMX86_AMXTypeKind:
153+
return LLVMX86AMXTypeInContext(Ctx);
152154
case LLVMX86_MMXTypeKind:
153155
return LLVMX86MMXTypeInContext(Ctx);
154156
case LLVMTokenTypeKind:

0 commit comments

Comments
 (0)