[llvm-branch-commits] [llvm] 8d22f25 - [llvm-c] Move LLVMX86_AMXTypeKind & LLVMPoisonValueValueKind to the bottom to avoid value changes compared with LLVM<=11
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 27 16:31:03 PST 2021
Author: Fangrui Song
Date: 2021-01-27T16:30:34-08:00
New Revision: 8d22f25d155113f9cfdf3952dc49088c820f2a77
URL: https://github.com/llvm/llvm-project/commit/8d22f25d155113f9cfdf3952dc49088c820f2a77
DIFF: https://github.com/llvm/llvm-project/commit/8d22f25d155113f9cfdf3952dc49088c820f2a77.diff
LOG: [llvm-c] Move LLVMX86_AMXTypeKind & LLVMPoisonValueValueKind to the bottom to avoid value changes compared with LLVM<=11
Fixes PR48905
(cherry picked from commit 6612c2bb68becda5504099b48082c844503c6d4c)
Added:
Modified:
llvm/include/llvm-c/Core.h
Removed:
################################################################################
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 8274213aa839..a78df16ca404 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -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 {
@@ -270,7 +270,6 @@ typedef enum {
LLVMConstantVectorValueKind,
LLVMUndefValueValueKind,
- LLVMPoisonValueValueKind,
LLVMConstantAggregateZeroValueKind,
LLVMConstantDataArrayValueKind,
LLVMConstantDataVectorValueKind,
@@ -283,6 +282,7 @@ typedef enum {
LLVMInlineAsmValueKind,
LLVMInstructionValueKind,
+ LLVMPoisonValueValueKind
} LLVMValueKind;
typedef enum {
More information about the llvm-branch-commits
mailing list