We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c393c commit 0bb9bdfCopy full SHA for 0bb9bdf
src/intrinsics/llvm.rs
@@ -29,8 +29,7 @@ pub(crate) fn codegen_llvm_intrinsic_call<'tcx>(
29
let mut res = fx.bcx.ins().iconst(types::I32, 0);
30
31
for lane in (0..lane_count).rev() {
32
- let a_lane =
33
- a.value_field(fx, mir::Field::new(lane.try_into().unwrap())).load_scalar(fx);
+ let a_lane = a.value_lane(fx, lane).load_scalar(fx);
34
35
// cast float to int
36
let a_lane = match lane_ty {
0 commit comments