Skip to content

Commit

Permalink
update llvm workaround comment to link to rust tracking issue too
Browse files Browse the repository at this point in the history
  • Loading branch information
programmerjake committed Jan 24, 2025
1 parent 3383cfb commit d545e84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/core_simd/src/simd/num/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ macro_rules! impl_trait {
unsafe { core::intrinsics::simd::simd_as(self) }
}

// https://github.com/llvm/llvm-project/issues/94694
// workaround for https://github.com/llvm/llvm-project/issues/94694 (fixed in LLVM 20)
// tracked in: https://github.com/rust-lang/rust/issues/135982
#[cfg(target_arch = "aarch64")]
#[inline]
fn cast<T: SimdCast>(self) -> Self::Cast<T>
Expand Down

0 comments on commit d545e84

Please sign in to comment.