Skip to content

Commit

Permalink
[llvm-c] Move LLVMX86_AMXTypeKind & LLVMPoisonValueValueKind to the b…
Browse files Browse the repository at this point in the history
…ottom to avoid value changes compared with LLVM<=11

Fixes PR48905

(cherry picked from commit 6612c2b)
  • Loading branch information
MaskRay committed Jan 28, 2021
1 parent 9df2b64 commit 8d22f25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/include/llvm-c/Core.h
Expand Up @@ -160,10 +160,10 @@ typedef enum {
LLVMVectorTypeKind, /**< Fixed width SIMD vector type */
LLVMMetadataTypeKind, /**< Metadata */
LLVMX86_MMXTypeKind, /**< X86 MMX */
LLVMX86_AMXTypeKind, /**< X86 AMX */
LLVMTokenTypeKind, /**< Tokens */
LLVMScalableVectorTypeKind, /**< Scalable SIMD vector type */
LLVMBFloatTypeKind /**< 16 bit brain floating point type */
LLVMBFloatTypeKind, /**< 16 bit brain floating point type */
LLVMX86_AMXTypeKind /**< X86 AMX */
} LLVMTypeKind;

typedef enum {
Expand Down Expand Up @@ -270,7 +270,6 @@ typedef enum {
LLVMConstantVectorValueKind,

LLVMUndefValueValueKind,
LLVMPoisonValueValueKind,
LLVMConstantAggregateZeroValueKind,
LLVMConstantDataArrayValueKind,
LLVMConstantDataVectorValueKind,
Expand All @@ -283,6 +282,7 @@ typedef enum {
LLVMInlineAsmValueKind,

LLVMInstructionValueKind,
LLVMPoisonValueValueKind
} LLVMValueKind;

typedef enum {
Expand Down

0 comments on commit 8d22f25

Please sign in to comment.