Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #137804 - RalfJung:backend-repr-simd-vector, r=workingjubilee
rename BackendRepr::Vector → SimdVector For many Rustaceans, "vector" does not imply "SIMD", so let's be more clear in this type that is used pervasively in the compiler. r? `@workingjubilee`
Matthias Krüger 2025-03-01
parent aedb9f2 · parent 5377cfb · commit 3b112a9
-rw-r--r--crates/hir-ty/src/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/layout.rs b/crates/hir-ty/src/layout.rs
index e2ab336d2e..a4e49e0aa1 100644
--- a/crates/hir-ty/src/layout.rs
+++ b/crates/hir-ty/src/layout.rs
@@ -192,7 +192,7 @@ fn layout_of_simd_ty(
Ok(Arc::new(Layout {
variants: Variants::Single { index: struct_variant_idx() },
fields,
- backend_repr: BackendRepr::Vector { element: e_abi, count: e_len },
+ backend_repr: BackendRepr::SimdVector { element: e_abi, count: e_len },
largest_niche: e_ly.largest_niche,
uninhabited: false,
size,