@@ -14,36 +14,36 @@ pub struct Zst2(());
14
14
#[ repr( transparent) ]
15
15
pub struct F32 ( f32 ) ;
16
16
17
- // CHECK: define float @test_F32(float %arg0 )
17
+ // CHECK: define float @test_F32(float %_1 )
18
18
#[ no_mangle]
19
19
pub extern fn test_F32 ( _: F32 ) -> F32 { loop { } }
20
20
21
21
#[ repr( transparent) ]
22
22
pub struct Ptr ( * mut u8 ) ;
23
23
24
- // CHECK: define i8* @test_Ptr(i8* %arg0 )
24
+ // CHECK: define i8* @test_Ptr(i8* %_1 )
25
25
#[ no_mangle]
26
26
pub extern fn test_Ptr ( _: Ptr ) -> Ptr { loop { } }
27
27
28
28
#[ repr( transparent) ]
29
29
pub struct WithZst ( u64 , Zst1 ) ;
30
30
31
- // CHECK: define i64 @test_WithZst(i64 %arg0 )
31
+ // CHECK: define i64 @test_WithZst(i64 %_1 )
32
32
#[ no_mangle]
33
33
pub extern fn test_WithZst ( _: WithZst ) -> WithZst { loop { } }
34
34
35
35
#[ repr( transparent) ]
36
36
pub struct WithZeroSizedArray ( * const f32 , [ i8 ; 0 ] ) ;
37
37
38
38
// 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 )
40
40
#[ no_mangle]
41
41
pub extern fn test_WithZeroSizedArray ( _: WithZeroSizedArray ) -> WithZeroSizedArray { loop { } }
42
42
43
43
#[ repr( transparent) ]
44
44
pub struct Generic < T > ( T ) ;
45
45
46
- // CHECK: define double @test_Generic(double %arg0 )
46
+ // CHECK: define double @test_Generic(double %_1 )
47
47
#[ no_mangle]
48
48
pub extern fn test_Generic ( _: Generic < f64 > ) -> Generic < f64 > { loop { } }
49
49
@@ -53,14 +53,14 @@ pub struct GenericPlusZst<T>(T, Zst2);
53
53
#[ repr( u8 ) ]
54
54
pub enum Bool { True , False , FileNotFound }
55
55
56
- // CHECK: define{{( zeroext)?}} i8 @test_Gpz(i8{{( zeroext)?}} %arg0 )
56
+ // CHECK: define{{( zeroext)?}} i8 @test_Gpz(i8{{( zeroext)?}} %_1 )
57
57
#[ no_mangle]
58
58
pub extern fn test_Gpz ( _: GenericPlusZst < Bool > ) -> GenericPlusZst < Bool > { loop { } }
59
59
60
60
#[ repr( transparent) ]
61
61
pub struct LifetimePhantom < ' a , T : ' a > ( * const T , PhantomData < & ' a T > ) ;
62
62
63
- // CHECK: define i16* @test_LifetimePhantom(i16* %arg0 )
63
+ // CHECK: define i16* @test_LifetimePhantom(i16* %_1 )
64
64
#[ no_mangle]
65
65
pub extern fn test_LifetimePhantom ( _: LifetimePhantom < i16 > ) -> LifetimePhantom < i16 > { loop { } }
66
66
@@ -70,28 +70,28 @@ pub struct UnitPhantom<T, U> { val: T, unit: PhantomData<U> }
70
70
71
71
pub struct Px ;
72
72
73
- // CHECK: define float @test_UnitPhantom(float %arg0 )
73
+ // CHECK: define float @test_UnitPhantom(float %_1 )
74
74
#[ no_mangle]
75
75
pub extern fn test_UnitPhantom ( _: UnitPhantom < f32 , Px > ) -> UnitPhantom < f32 , Px > { loop { } }
76
76
77
77
#[ repr( transparent) ]
78
78
pub struct TwoZsts ( Zst1 , i8 , Zst2 ) ;
79
79
80
- // CHECK: define{{( signext)?}} i8 @test_TwoZsts(i8{{( signext)?}} %arg0 )
80
+ // CHECK: define{{( signext)?}} i8 @test_TwoZsts(i8{{( signext)?}} %_1 )
81
81
#[ no_mangle]
82
82
pub extern fn test_TwoZsts ( _: TwoZsts ) -> TwoZsts { loop { } }
83
83
84
84
#[ repr( transparent) ]
85
85
pub struct Nested1 ( Zst2 , Generic < f64 > ) ;
86
86
87
- // CHECK: define double @test_Nested1(double %arg0 )
87
+ // CHECK: define double @test_Nested1(double %_1 )
88
88
#[ no_mangle]
89
89
pub extern fn test_Nested1 ( _: Nested1 ) -> Nested1 { loop { } }
90
90
91
91
#[ repr( transparent) ]
92
92
pub struct Nested2 ( Nested1 , Zst1 ) ;
93
93
94
- // CHECK: define double @test_Nested2(double %arg0 )
94
+ // CHECK: define double @test_Nested2(double %_1 )
95
95
#[ no_mangle]
96
96
pub extern fn test_Nested2 ( _: Nested2 ) -> Nested2 { loop { } }
97
97
@@ -101,7 +101,7 @@ struct f32x4(f32, f32, f32, f32);
101
101
#[ repr( transparent) ]
102
102
pub struct Vector ( f32x4 ) ;
103
103
104
- // CHECK: define <4 x float> @test_Vector(<4 x float> %arg0 )
104
+ // CHECK: define <4 x float> @test_Vector(<4 x float> %_1 )
105
105
#[ no_mangle]
106
106
pub extern fn test_Vector ( _: Vector ) -> Vector { loop { } }
107
107
@@ -111,7 +111,7 @@ impl<T: ?Sized> Mirror for T { type It = Self; }
111
111
#[ repr( transparent) ]
112
112
pub struct StructWithProjection ( <f32 as Mirror >:: It ) ;
113
113
114
- // CHECK: define float @test_Projection(float %arg0 )
114
+ // CHECK: define float @test_Projection(float %_1 )
115
115
#[ no_mangle]
116
116
pub extern fn test_Projection ( _: StructWithProjection ) -> StructWithProjection { loop { } }
117
117
@@ -120,7 +120,7 @@ pub enum EnumF32 {
120
120
Variant ( F32 )
121
121
}
122
122
123
- // CHECK: define float @test_EnumF32(float %arg0 )
123
+ // CHECK: define float @test_EnumF32(float %_1 )
124
124
#[ no_mangle]
125
125
pub extern fn test_EnumF32 ( _: EnumF32 ) -> EnumF32 { loop { } }
126
126
@@ -129,7 +129,7 @@ pub enum EnumF32WithZsts {
129
129
Variant ( Zst1 , F32 , Zst2 )
130
130
}
131
131
132
- // CHECK: define float @test_EnumF32WithZsts(float %arg0 )
132
+ // CHECK: define float @test_EnumF32WithZsts(float %_1 )
133
133
#[ no_mangle]
134
134
pub extern fn test_EnumF32WithZsts ( _: EnumF32WithZsts ) -> EnumF32WithZsts { loop { } }
135
135
@@ -138,7 +138,7 @@ pub union UnionF32 {
138
138
field : F32 ,
139
139
}
140
140
141
- // CHECK: define float @test_UnionF32(float %arg0 )
141
+ // CHECK: define float @test_UnionF32(float %_1 )
142
142
#[ no_mangle]
143
143
pub extern fn test_UnionF32 ( _: UnionF32 ) -> UnionF32 { loop { } }
144
144
@@ -149,7 +149,7 @@ pub union UnionF32WithZsts {
149
149
zst2 : Zst2 ,
150
150
}
151
151
152
- // CHECK: define float @test_UnionF32WithZsts(float %arg0 )
152
+ // CHECK: define float @test_UnionF32WithZsts(float %_1 )
153
153
#[ no_mangle]
154
154
pub extern fn test_UnionF32WithZsts ( _: UnionF32WithZsts ) -> UnionF32WithZsts { loop { } }
155
155
0 commit comments