@@ -17,60 +17,60 @@ pub struct i64x4(i64, i64, i64, i64);
1717#[ derive( Copy , Clone ) ]
1818pub union UnionI64x4 { a : ( ) , b : i64x4 }
1919
20- // CHECK: define void @test_UnionI64x4({{<4 x i64>\*|ptr}} {{.*}} %_1)
20+ // CHECK: define {{(dso_local )?}} void @test_UnionI64x4({{<4 x i64>\*|ptr}} {{.*}} %_1)
2121#[ no_mangle]
2222pub fn test_UnionI64x4 ( _: UnionI64x4 ) { loop { } }
2323
2424pub union UnionI64x4_ { a : i64x4 , b : ( ) , c : i64x4 , d : Unhab , e : ( ( ) , ( ) ) , f : UnionI64x4 }
2525
26- // CHECK: define void @test_UnionI64x4_({{<4 x i64>\*|ptr}} {{.*}} %_1)
26+ // CHECK: define {{(dso_local )?}} void @test_UnionI64x4_({{<4 x i64>\*|ptr}} {{.*}} %_1)
2727#[ no_mangle]
2828pub fn test_UnionI64x4_ ( _: UnionI64x4_ ) { loop { } }
2929
3030pub union UnionI64x4I64 { a : i64x4 , b : i64 }
3131
32- // CHECK: define void @test_UnionI64x4I64({{%UnionI64x4I64\*|ptr}} {{.*}} %_1)
32+ // CHECK: define {{(dso_local )?}} void @test_UnionI64x4I64({{%UnionI64x4I64\*|ptr}} {{.*}} %_1)
3333#[ no_mangle]
3434pub fn test_UnionI64x4I64 ( _: UnionI64x4I64 ) { loop { } }
3535
3636pub union UnionI64x4Tuple { a : i64x4 , b : ( i64 , i64 , i64 , i64 ) }
3737
38- // CHECK: define void @test_UnionI64x4Tuple({{%UnionI64x4Tuple\*|ptr}} {{.*}} %_1)
38+ // CHECK: define {{(dso_local )?}} void @test_UnionI64x4Tuple({{%UnionI64x4Tuple\*|ptr}} {{.*}} %_1)
3939#[ no_mangle]
4040pub fn test_UnionI64x4Tuple ( _: UnionI64x4Tuple ) { loop { } }
4141
4242
4343pub union UnionF32 { a : f32 }
4444
45- // CHECK: define float @test_UnionF32(float %_1)
45+ // CHECK: define {{(dso_local )?}} float @test_UnionF32(float %_1)
4646#[ no_mangle]
4747pub fn test_UnionF32 ( _: UnionF32 ) -> UnionF32 { loop { } }
4848
4949pub union UnionF32F32 { a : f32 , b : f32 }
5050
51- // CHECK: define float @test_UnionF32F32(float %_1)
51+ // CHECK: define {{(dso_local )?}} float @test_UnionF32F32(float %_1)
5252#[ no_mangle]
5353pub fn test_UnionF32F32 ( _: UnionF32F32 ) -> UnionF32F32 { loop { } }
5454
5555pub union UnionF32U32 { a : f32 , b : u32 }
5656
57- // CHECK: define i32 @test_UnionF32U32(i32{{( %0)?}})
57+ // CHECK: define {{(dso_local )?}} i32 @test_UnionF32U32(i32{{( %0)?}})
5858#[ no_mangle]
5959pub fn test_UnionF32U32 ( _: UnionF32U32 ) -> UnionF32U32 { loop { } }
6060
6161pub union UnionU128 { a : u128 }
62- // CHECK: define i128 @test_UnionU128(i128 %_1)
62+ // CHECK: define {{(dso_local )?}} i128 @test_UnionU128(i128 %_1)
6363#[ no_mangle]
6464pub fn test_UnionU128 ( _: UnionU128 ) -> UnionU128 { loop { } }
6565
6666#[ repr( C ) ]
6767pub union CUnionU128 { a : u128 }
68- // CHECK: define void @test_CUnionU128({{%CUnionU128\*|ptr}} {{.*}} %_1)
68+ // CHECK: define {{(dso_local )?}} void @test_CUnionU128({{%CUnionU128\*|ptr}} {{.*}} %_1)
6969#[ no_mangle]
7070pub fn test_CUnionU128 ( _: CUnionU128 ) { loop { } }
7171
7272pub union UnionBool { b : bool }
73- // CHECK: define noundef zeroext i1 @test_UnionBool(i8 %b)
73+ // CHECK: define {{(dso_local )?}} noundef zeroext i1 @test_UnionBool(i8 %b)
7474#[ no_mangle]
7575pub fn test_UnionBool ( b : UnionBool ) -> bool { unsafe { b. b } }
7676// CHECK: %0 = trunc i8 %b to i1
0 commit comments