Skip to content

Commit 5c99f84

Browse files
bjorn3Amanieu
authored andcommitted
Fix duplicated argument name in extern block
While rustc accepts it just fine due to what is arguably a bug, this duplication does become an issue when generating functions from the llvm intrinsic declarations while reusing the argument names.
1 parent 443063a commit 5c99f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_arch/src/x86/avx512f.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41458,7 +41458,7 @@ extern "C" {
4145841458
fn vfixupimmsdz(a: f64x2, b: f64x2, c: i64x2, imm8: i32, mask: u8, sae: i32) -> f64x2;
4145941459

4146041460
#[link_name = "llvm.x86.avx512.mask.cvtss2sd.round"]
41461-
fn vcvtss2sd(a: f64x2, a: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
41461+
fn vcvtss2sd(a: f64x2, b: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
4146241462
#[link_name = "llvm.x86.avx512.mask.cvtsd2ss.round"]
4146341463
fn vcvtsd2ss(a: f32x4, b: f64x2, src: f32x4, mask: u8, rounding: i32) -> f32x4;
4146441464

0 commit comments

Comments
 (0)