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 0644a8c commit 94f2fefCopy full SHA for 94f2fef
src/intrinsics/simd.rs
@@ -186,7 +186,10 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
186
let size = Size::from_bytes(
187
4 * ret_lane_count, /* size_of([u32; ret_lane_count]) */
188
);
189
- alloc.inner().get_bytes(fx, alloc_range(offset, size)).unwrap()
+ alloc
190
+ .inner()
191
+ .get_bytes_strip_provenance(fx, alloc_range(offset, size))
192
+ .unwrap()
193
}
194
_ => unreachable!("{:?}", idx_const),
195
};
0 commit comments