Skip to content

Commit da06423

Browse files
authored
Unrolled build for rust-lang#128194
Rollup merge of rust-lang#128194 - maurer:fix-mmx, r=cuviper LLVM: LLVM-20.0 removes MMX types See llvm/llvm-project#98505 `@rustbot` label: +llvm-main
2 parents 2f26b2a + 38931cd commit da06423

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ pub enum TypeKind {
305305
Pointer = 12,
306306
Vector = 13,
307307
Metadata = 14,
308-
X86_MMX = 15,
309308
Token = 16,
310309
ScalableVector = 17,
311310
BFloat = 18,
@@ -330,7 +329,6 @@ impl TypeKind {
330329
TypeKind::Pointer => rustc_codegen_ssa::common::TypeKind::Pointer,
331330
TypeKind::Vector => rustc_codegen_ssa::common::TypeKind::Vector,
332331
TypeKind::Metadata => rustc_codegen_ssa::common::TypeKind::Metadata,
333-
TypeKind::X86_MMX => rustc_codegen_ssa::common::TypeKind::X86_MMX,
334332
TypeKind::Token => rustc_codegen_ssa::common::TypeKind::Token,
335333
TypeKind::ScalableVector => rustc_codegen_ssa::common::TypeKind::ScalableVector,
336334
TypeKind::BFloat => rustc_codegen_ssa::common::TypeKind::BFloat,

compiler/rustc_codegen_ssa/src/common.rs

-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ pub enum TypeKind {
9191
Pointer,
9292
Vector,
9393
Metadata,
94-
X86_MMX,
9594
Token,
9695
ScalableVector,
9796
BFloat,

compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -1419,8 +1419,6 @@ extern "C" LLVMTypeKind LLVMRustGetTypeKind(LLVMTypeRef Ty) {
14191419
return LLVMPointerTypeKind;
14201420
case Type::FixedVectorTyID:
14211421
return LLVMVectorTypeKind;
1422-
case Type::X86_MMXTyID:
1423-
return LLVMX86_MMXTypeKind;
14241422
case Type::TokenTyID:
14251423
return LLVMTokenTypeKind;
14261424
case Type::ScalableVectorTyID:

0 commit comments

Comments
 (0)