1
Fork 0

LLVM: LLVM-20.0 removes MMX types

See llvm/llvm-project#98505
This commit is contained in:
Matthew Maurer 2024-07-25 16:47:30 +00:00
parent 54be9ad5eb
commit 38931cd227
3 changed files with 0 additions and 5 deletions

View file

@ -305,7 +305,6 @@ pub enum TypeKind {
Pointer = 12, Pointer = 12,
Vector = 13, Vector = 13,
Metadata = 14, Metadata = 14,
X86_MMX = 15,
Token = 16, Token = 16,
ScalableVector = 17, ScalableVector = 17,
BFloat = 18, BFloat = 18,
@ -330,7 +329,6 @@ impl TypeKind {
TypeKind::Pointer => rustc_codegen_ssa::common::TypeKind::Pointer, TypeKind::Pointer => rustc_codegen_ssa::common::TypeKind::Pointer,
TypeKind::Vector => rustc_codegen_ssa::common::TypeKind::Vector, TypeKind::Vector => rustc_codegen_ssa::common::TypeKind::Vector,
TypeKind::Metadata => rustc_codegen_ssa::common::TypeKind::Metadata, TypeKind::Metadata => rustc_codegen_ssa::common::TypeKind::Metadata,
TypeKind::X86_MMX => rustc_codegen_ssa::common::TypeKind::X86_MMX,
TypeKind::Token => rustc_codegen_ssa::common::TypeKind::Token, TypeKind::Token => rustc_codegen_ssa::common::TypeKind::Token,
TypeKind::ScalableVector => rustc_codegen_ssa::common::TypeKind::ScalableVector, TypeKind::ScalableVector => rustc_codegen_ssa::common::TypeKind::ScalableVector,
TypeKind::BFloat => rustc_codegen_ssa::common::TypeKind::BFloat, TypeKind::BFloat => rustc_codegen_ssa::common::TypeKind::BFloat,

View file

@ -91,7 +91,6 @@ pub enum TypeKind {
Pointer, Pointer,
Vector, Vector,
Metadata, Metadata,
X86_MMX,
Token, Token,
ScalableVector, ScalableVector,
BFloat, BFloat,

View file

@ -1419,8 +1419,6 @@ extern "C" LLVMTypeKind LLVMRustGetTypeKind(LLVMTypeRef Ty) {
return LLVMPointerTypeKind; return LLVMPointerTypeKind;
case Type::FixedVectorTyID: case Type::FixedVectorTyID:
return LLVMVectorTypeKind; return LLVMVectorTypeKind;
case Type::X86_MMXTyID:
return LLVMX86_MMXTypeKind;
case Type::TokenTyID: case Type::TokenTyID:
return LLVMTokenTypeKind; return LLVMTokenTypeKind;
case Type::ScalableVectorTyID: case Type::ScalableVectorTyID: