Skip to content

Commit 3b112a9

Browse files
authored
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`
2 parents aedb9f2 + 5377cfb commit 3b112a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ fn layout_of_simd_ty(
192192
Ok(Arc::new(Layout {
193193
variants: Variants::Single { index: struct_variant_idx() },
194194
fields,
195-
backend_repr: BackendRepr::Vector { element: e_abi, count: e_len },
195+
backend_repr: BackendRepr::SimdVector { element: e_abi, count: e_len },
196196
largest_niche: e_ly.largest_niche,
197197
uninhabited: false,
198198
size,

0 commit comments

Comments
 (0)