Skip to content

Commit 1219e46

Browse files
committed
abi: s/ScalableVector/SimdScalableVector
Renaming to remove any ambiguity as to what "vector" refers to in this context
1 parent 1c333b6 commit 1219e46

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/intrinsic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
505505
let layout = self.layout_of(tp_ty).layout;
506506
let _use_integer_compare = match layout.backend_repr() {
507507
Scalar(_) | ScalarPair(_, _) => true,
508-
SimdVector { .. } | ScalableVector { .. } => false,
508+
SimdVector { .. } | SimdScalableVector { .. } => false,
509509
Memory { .. } => {
510510
// For rusty ABIs, small aggregates are actually passed
511511
// as `RegKind::Integer` (see `FnAbi::adjust_for_abi`),

src/type_of.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn uncached_gcc_type<'gcc, 'tcx>(
8585
);
8686
}
8787
BackendRepr::Memory { .. } => {}
88-
BackendRepr::ScalableVector { .. } => todo!(),
88+
BackendRepr::SimdScalableVector { .. } => todo!(),
8989
}
9090

9191
let name = match *layout.ty.kind() {
@@ -181,7 +181,7 @@ impl<'tcx> LayoutGccExt<'tcx> for TyAndLayout<'tcx> {
181181
match self.backend_repr {
182182
BackendRepr::Scalar(_) | BackendRepr::SimdVector { .. } => true,
183183
// FIXME(rustc_scalable_vector): Not yet implemented in rustc_codegen_gcc.
184-
BackendRepr::ScalableVector { .. } => todo!(),
184+
BackendRepr::SimdScalableVector { .. } => todo!(),
185185
BackendRepr::ScalarPair(..) | BackendRepr::Memory { .. } => false,
186186
}
187187
}
@@ -191,7 +191,7 @@ impl<'tcx> LayoutGccExt<'tcx> for TyAndLayout<'tcx> {
191191
BackendRepr::ScalarPair(..) => true,
192192
BackendRepr::Scalar(_)
193193
| BackendRepr::SimdVector { .. }
194-
| BackendRepr::ScalableVector { .. }
194+
| BackendRepr::SimdScalableVector { .. }
195195
| BackendRepr::Memory { .. } => false,
196196
}
197197
}

0 commit comments

Comments
 (0)