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.
This commit is contained in:
bjorn3 2024-06-03 13:17:39 +02:00 committed by Amanieu d'Antras
parent 860145884d
commit 292c0ecffd

View file

@ -41458,7 +41458,7 @@ extern "C" {
fn vfixupimmsdz(a: f64x2, b: f64x2, c: i64x2, imm8: i32, mask: u8, sae: i32) -> f64x2;
#[link_name = "llvm.x86.avx512.mask.cvtss2sd.round"]
fn vcvtss2sd(a: f64x2, a: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
fn vcvtss2sd(a: f64x2, b: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
#[link_name = "llvm.x86.avx512.mask.cvtsd2ss.round"]
fn vcvtsd2ss(a: f32x4, b: f64x2, src: f32x4, mask: u8, rounding: i32) -> f32x4;