File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ where
239
239
///
240
240
/// [cast]: Simd::cast
241
241
#[ inline]
242
+ #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
242
243
pub unsafe fn to_int_unchecked < I > ( self ) -> Simd < I , LANES >
243
244
where
244
245
T : core:: convert:: FloatToInt < I > ,
@@ -349,6 +350,7 @@ where
349
350
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
350
351
#[ must_use]
351
352
#[ inline]
353
+ #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
352
354
pub unsafe fn gather_select_unchecked (
353
355
slice : & [ T ] ,
354
356
enable : Mask < isize , LANES > ,
@@ -444,6 +446,7 @@ where
444
446
/// ```
445
447
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
446
448
#[ inline]
449
+ #[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
447
450
pub unsafe fn scatter_select_unchecked (
448
451
self ,
449
452
slice : & mut [ T ] ,
You can’t perform that action at this time.
0 commit comments