Skip to content

Commit 5f1dd23

Browse files
committed
rustfmt
1 parent 36a6116 commit 5f1dd23

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/intrinsics/llvm_aarch64.rs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,38 +93,32 @@ pub(crate) fn codegen_aarch64_llvm_intrinsic_call<'tcx>(
9393

9494
_ if intrinsic.starts_with("llvm.aarch64.neon.fmax.v") => {
9595
intrinsic_args!(fx, args => (x, y); intrinsic);
96-
96+
9797
simd_pair_for_each_lane(
9898
fx,
9999
x,
100100
y,
101101
ret,
102-
&|fx, _lane_ty, _res_lane_ty, x_lane, y_lane| {
103-
fx.bcx.ins().fmax(x_lane, y_lane)
104-
}
102+
&|fx, _lane_ty, _res_lane_ty, x_lane, y_lane| fx.bcx.ins().fmax(x_lane, y_lane),
105103
);
106104
}
107105

108106
_ if intrinsic.starts_with("llvm.aarch64.neon.fmin.v") => {
109107
intrinsic_args!(fx, args => (x, y); intrinsic);
110-
108+
111109
simd_pair_for_each_lane(
112110
fx,
113111
x,
114112
y,
115113
ret,
116-
&|fx, _lane_ty, _res_lane_ty, x_lane, y_lane| {
117-
fx.bcx.ins().fmin(x_lane, y_lane)
118-
}
114+
&|fx, _lane_ty, _res_lane_ty, x_lane, y_lane| fx.bcx.ins().fmin(x_lane, y_lane),
119115
);
120116
}
121117

122118
_ if intrinsic.starts_with("llvm.aarch64.neon.faddv.f32.v") => {
123119
intrinsic_args!(fx, args => (v); intrinsic);
124120

125-
simd_reduce(fx, v, None, ret, &|fx, _ty, a, b| {
126-
fx.bcx.ins().fadd(a, b)
127-
});
121+
simd_reduce(fx, v, None, ret, &|fx, _ty, a, b| fx.bcx.ins().fadd(a, b));
128122
}
129123

130124
_ if intrinsic.starts_with("llvm.aarch64.neon.frintn.v") => {

0 commit comments

Comments
 (0)