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 5aeae05 commit 654bc61Copy full SHA for 654bc61
src/intrinsics/simd.rs
@@ -148,7 +148,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
148
let total_len = lane_count * 2;
149
150
let indexes =
151
- idx.iter().map(|idx| idx.unwrap_leaf().try_to_u16().unwrap()).collect::<Vec<u16>>();
+ idx.iter().map(|idx| idx.unwrap_leaf().try_to_u32().unwrap()).collect::<Vec<u32>>();
152
153
for &idx in &indexes {
154
assert!(u64::from(idx) < total_len, "idx {} out of range 0..{}", idx, total_len);
0 commit comments