@@ -14,36 +14,36 @@ pub struct Zst2(());
1414#[ repr( transparent) ]
1515pub struct F32 ( f32 ) ;
1616
17- // CHECK: define float @test_F32(float %arg0 )
17+ // CHECK: define float @test_F32(float %_1 )
1818#[ no_mangle]
1919pub extern fn test_F32 ( _: F32 ) -> F32 { loop { } }
2020
2121#[ repr( transparent) ]
2222pub struct Ptr ( * mut u8 ) ;
2323
24- // CHECK: define i8* @test_Ptr(i8* %arg0 )
24+ // CHECK: define i8* @test_Ptr(i8* %_1 )
2525#[ no_mangle]
2626pub extern fn test_Ptr ( _: Ptr ) -> Ptr { loop { } }
2727
2828#[ repr( transparent) ]
2929pub struct WithZst ( u64 , Zst1 ) ;
3030
31- // CHECK: define i64 @test_WithZst(i64 %arg0 )
31+ // CHECK: define i64 @test_WithZst(i64 %_1 )
3232#[ no_mangle]
3333pub extern fn test_WithZst ( _: WithZst ) -> WithZst { loop { } }
3434
3535#[ repr( transparent) ]
3636pub struct WithZeroSizedArray ( * const f32 , [ i8 ; 0 ] ) ;
3737
3838// Apparently we use i32* when newtype-unwrapping f32 pointers. Whatever.
39- // CHECK: define i32* @test_WithZeroSizedArray(i32* %arg0 )
39+ // CHECK: define i32* @test_WithZeroSizedArray(i32* %_1 )
4040#[ no_mangle]
4141pub extern fn test_WithZeroSizedArray ( _: WithZeroSizedArray ) -> WithZeroSizedArray { loop { } }
4242
4343#[ repr( transparent) ]
4444pub struct Generic < T > ( T ) ;
4545
46- // CHECK: define double @test_Generic(double %arg0 )
46+ // CHECK: define double @test_Generic(double %_1 )
4747#[ no_mangle]
4848pub extern fn test_Generic ( _: Generic < f64 > ) -> Generic < f64 > { loop { } }
4949
@@ -53,14 +53,14 @@ pub struct GenericPlusZst<T>(T, Zst2);
5353#[ repr( u8 ) ]
5454pub enum Bool { True , False , FileNotFound }
5555
56- // CHECK: define{{( zeroext)?}} i8 @test_Gpz(i8{{( zeroext)?}} %arg0 )
56+ // CHECK: define{{( zeroext)?}} i8 @test_Gpz(i8{{( zeroext)?}} %_1 )
5757#[ no_mangle]
5858pub extern fn test_Gpz ( _: GenericPlusZst < Bool > ) -> GenericPlusZst < Bool > { loop { } }
5959
6060#[ repr( transparent) ]
6161pub struct LifetimePhantom < ' a , T : ' a > ( * const T , PhantomData < & ' a T > ) ;
6262
63- // CHECK: define i16* @test_LifetimePhantom(i16* %arg0 )
63+ // CHECK: define i16* @test_LifetimePhantom(i16* %_1 )
6464#[ no_mangle]
6565pub extern fn test_LifetimePhantom ( _: LifetimePhantom < i16 > ) -> LifetimePhantom < i16 > { loop { } }
6666
@@ -70,28 +70,28 @@ pub struct UnitPhantom<T, U> { val: T, unit: PhantomData<U> }
7070
7171pub struct Px ;
7272
73- // CHECK: define float @test_UnitPhantom(float %arg0 )
73+ // CHECK: define float @test_UnitPhantom(float %_1 )
7474#[ no_mangle]
7575pub extern fn test_UnitPhantom ( _: UnitPhantom < f32 , Px > ) -> UnitPhantom < f32 , Px > { loop { } }
7676
7777#[ repr( transparent) ]
7878pub struct TwoZsts ( Zst1 , i8 , Zst2 ) ;
7979
80- // CHECK: define{{( signext)?}} i8 @test_TwoZsts(i8{{( signext)?}} %arg0 )
80+ // CHECK: define{{( signext)?}} i8 @test_TwoZsts(i8{{( signext)?}} %_1 )
8181#[ no_mangle]
8282pub extern fn test_TwoZsts ( _: TwoZsts ) -> TwoZsts { loop { } }
8383
8484#[ repr( transparent) ]
8585pub struct Nested1 ( Zst2 , Generic < f64 > ) ;
8686
87- // CHECK: define double @test_Nested1(double %arg0 )
87+ // CHECK: define double @test_Nested1(double %_1 )
8888#[ no_mangle]
8989pub extern fn test_Nested1 ( _: Nested1 ) -> Nested1 { loop { } }
9090
9191#[ repr( transparent) ]
9292pub struct Nested2 ( Nested1 , Zst1 ) ;
9393
94- // CHECK: define double @test_Nested2(double %arg0 )
94+ // CHECK: define double @test_Nested2(double %_1 )
9595#[ no_mangle]
9696pub extern fn test_Nested2 ( _: Nested2 ) -> Nested2 { loop { } }
9797
@@ -101,7 +101,7 @@ struct f32x4(f32, f32, f32, f32);
101101#[ repr( transparent) ]
102102pub struct Vector ( f32x4 ) ;
103103
104- // CHECK: define <4 x float> @test_Vector(<4 x float> %arg0 )
104+ // CHECK: define <4 x float> @test_Vector(<4 x float> %_1 )
105105#[ no_mangle]
106106pub extern fn test_Vector ( _: Vector ) -> Vector { loop { } }
107107
@@ -111,7 +111,7 @@ impl<T: ?Sized> Mirror for T { type It = Self; }
111111#[ repr( transparent) ]
112112pub struct StructWithProjection ( <f32 as Mirror >:: It ) ;
113113
114- // CHECK: define float @test_Projection(float %arg0 )
114+ // CHECK: define float @test_Projection(float %_1 )
115115#[ no_mangle]
116116pub extern fn test_Projection ( _: StructWithProjection ) -> StructWithProjection { loop { } }
117117
@@ -120,7 +120,7 @@ pub enum EnumF32 {
120120 Variant ( F32 )
121121}
122122
123- // CHECK: define float @test_EnumF32(float %arg0 )
123+ // CHECK: define float @test_EnumF32(float %_1 )
124124#[ no_mangle]
125125pub extern fn test_EnumF32 ( _: EnumF32 ) -> EnumF32 { loop { } }
126126
@@ -129,7 +129,7 @@ pub enum EnumF32WithZsts {
129129 Variant ( Zst1 , F32 , Zst2 )
130130}
131131
132- // CHECK: define float @test_EnumF32WithZsts(float %arg0 )
132+ // CHECK: define float @test_EnumF32WithZsts(float %_1 )
133133#[ no_mangle]
134134pub extern fn test_EnumF32WithZsts ( _: EnumF32WithZsts ) -> EnumF32WithZsts { loop { } }
135135
@@ -138,7 +138,7 @@ pub union UnionF32 {
138138 field : F32 ,
139139}
140140
141- // CHECK: define float @test_UnionF32(float %arg0 )
141+ // CHECK: define float @test_UnionF32(float %_1 )
142142#[ no_mangle]
143143pub extern fn test_UnionF32 ( _: UnionF32 ) -> UnionF32 { loop { } }
144144
@@ -149,7 +149,7 @@ pub union UnionF32WithZsts {
149149 zst2 : Zst2 ,
150150}
151151
152- // CHECK: define float @test_UnionF32WithZsts(float %arg0 )
152+ // CHECK: define float @test_UnionF32WithZsts(float %_1 )
153153#[ no_mangle]
154154pub extern fn test_UnionF32WithZsts ( _: UnionF32WithZsts ) -> UnionF32WithZsts { loop { } }
155155
0 commit comments