Skip to content

Commit 9eb9436

Browse files
committed
Fix indentation
1 parent b35a5da commit 9eb9436

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/intrinsics/mod.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,14 @@ macro simd_int_flt_binop {
305305

306306
macro simd_flt_binop($fx:expr, $intrinsic:expr, $op:ident($x:ident, $y:ident) -> $ret:ident) {
307307
let (lane_layout, lane_count) = lane_type_and_count($fx.tcx, $x.layout());
308-
let x_val = $x.load_vector($fx);
309-
let y_val = $y.load_vector($fx);
308+
let x_val = $x.load_vector($fx);
309+
let y_val = $y.load_vector($fx);
310310

311-
let res = match lane_layout.ty.kind {
312-
ty::Float(_) => $fx.bcx.ins().$op(x_val, y_val),
313-
_ => unreachable!("{:?}", lane_layout.ty),
314-
};
315-
$ret.write_cvalue($fx, CValue::by_val(res, $ret.layout()));
311+
let res = match lane_layout.ty.kind {
312+
ty::Float(_) => $fx.bcx.ins().$op(x_val, y_val),
313+
_ => unreachable!("{:?}", lane_layout.ty),
314+
};
315+
$ret.write_cvalue($fx, CValue::by_val(res, $ret.layout()));
316316
}
317317

318318
pub fn codegen_intrinsic_call<'tcx>(

0 commit comments

Comments
 (0)