[BFloat] Move LLVMBFloatTypeKind to the end of the enum
authorTies Stuij <ties.stuij@arm.com>
Thu, 18 Jun 2020 22:57:32 +0000 (23:57 +0100)
committerTies Stuij <ties.stuij@arm.com>
Fri, 19 Jun 2020 00:51:44 +0000 (01:51 +0100)
Summary: so it doesn't change the C ABI

Reviewers: deadalnix

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82135

llvm/include/llvm-c/Core.h

index 3856054..2c7b4c6 100644 (file)
@@ -146,7 +146,6 @@ typedef enum {
 typedef enum {
   LLVMVoidTypeKind,      /**< type with no size */
   LLVMHalfTypeKind,      /**< 16 bit floating point type */
-  LLVMBFloatTypeKind,    /**< 16 bit brain floating point type */
   LLVMFloatTypeKind,     /**< 32 bit floating point type */
   LLVMDoubleTypeKind,    /**< 64 bit floating point type */
   LLVMX86_FP80TypeKind,  /**< 80 bit floating point type (X87) */
@@ -162,7 +161,8 @@ typedef enum {
   LLVMMetadataTypeKind,  /**< Metadata */
   LLVMX86_MMXTypeKind,   /**< X86 MMX */
   LLVMTokenTypeKind,     /**< Tokens */
-  LLVMScalableVectorTypeKind /**< Scalable SIMD vector type */
+  LLVMScalableVectorTypeKind, /**< Scalable SIMD vector type */
+  LLVMBFloatTypeKind     /**< 16 bit brain floating point type */
 } LLVMTypeKind;
 
 typedef enum {