Skip to content

Commit 8d22f25

Browse files
committed
[llvm-c] Move LLVMX86_AMXTypeKind & LLVMPoisonValueValueKind to the bottom to avoid value changes compared with LLVM<=11
Fixes PR48905 (cherry picked from commit 6612c2b)
1 parent 9df2b64 commit 8d22f25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm-c/Core.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ typedef enum {
160160
LLVMVectorTypeKind, /**< Fixed width SIMD vector type */
161161
LLVMMetadataTypeKind, /**< Metadata */
162162
LLVMX86_MMXTypeKind, /**< X86 MMX */
163-
LLVMX86_AMXTypeKind, /**< X86 AMX */
164163
LLVMTokenTypeKind, /**< Tokens */
165164
LLVMScalableVectorTypeKind, /**< Scalable SIMD vector type */
166-
LLVMBFloatTypeKind /**< 16 bit brain floating point type */
165+
LLVMBFloatTypeKind, /**< 16 bit brain floating point type */
166+
LLVMX86_AMXTypeKind /**< X86 AMX */
167167
} LLVMTypeKind;
168168

169169
typedef enum {
@@ -270,7 +270,6 @@ typedef enum {
270270
LLVMConstantVectorValueKind,
271271

272272
LLVMUndefValueValueKind,
273-
LLVMPoisonValueValueKind,
274273
LLVMConstantAggregateZeroValueKind,
275274
LLVMConstantDataArrayValueKind,
276275
LLVMConstantDataVectorValueKind,
@@ -283,6 +282,7 @@ typedef enum {
283282
LLVMInlineAsmValueKind,
284283

285284
LLVMInstructionValueKind,
285+
LLVMPoisonValueValueKind
286286
} LLVMValueKind;
287287

288288
typedef enum {

0 commit comments

Comments
 (0)