From 9dda41e43327fd73ed9a7cc205ef0e222cc8726e Mon Sep 17 00:00:00 2001 From: Ties Stuij Date: Thu, 18 Jun 2020 23:57:32 +0100 Subject: [PATCH] [BFloat] Move LLVMBFloatTypeKind to the end of the enum 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 3856054..2c7b4c6 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -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 { -- 2.7.4