@@ -10,7 +10,7 @@ declare i32 @has_ptr_arg(ptr)
1010
1111; CHECK-LABEL: test_invalid_rtn:
1212; CHECK: i32.const $push[[L0:[0-9]+]]=, 0{{$}}
13- ; CHECK-NEXT: call $push[[L1:[0-9]+]]=, .Lhas_i64_arg_bitcast_invalid.2 , $pop[[L0]]{{$}}
13+ ; CHECK-NEXT: call $push[[L1:[0-9]+]]=, .Lhas_i64_arg_bitcast_invalid.1 , $pop[[L0]]{{$}}
1414; CHECK-NEXT: drop $pop[[L1]]{{$}}
1515; CHECK-NEXT: i64.const $push[[L0:[0-9]+]]=, 0{{$}}
1616; CHECK-NEXT: call $push[[L1:[0-9]+]]=, .Lhas_i64_arg_bitcast_invalid, $pop[[L0]]{{$}}
@@ -32,7 +32,7 @@ define void @test_struct_rtn() {
3232
3333; CHECK-LABEL: test_invalid_arg:
3434; CHECK: i32.const $push[[L0:[0-9]+]]=, 2{{$}}
35- ; CHECK-NEXT: call $push[[L1:[0-9]+]]=, .Lhas_ptr_arg_bitcast_invalid.4 , $pop[[L0]]{{$}}
35+ ; CHECK-NEXT: call $push[[L1:[0-9]+]]=, .Lhas_ptr_arg_bitcast_invalid.2 , $pop[[L0]]{{$}}
3636; CHECK-NEXT: drop $pop[[L1]]{{$}}
3737; CHECK-NEXT: i32.const $push[[L0:[0-9]+]]=, 2{{$}}
3838; CHECK-NEXT: call $push[[L1:[0-9]+]]=, has_ptr_arg, $pop[[L0]]{{$}}
5454; CHECK-NEXT: unreachable
5555; CHECK-NEXT: end_function
5656
57- ; CHECK-LABEL: .Lhas_i64_arg_bitcast_invalid.2 :
58- ; CHECK-NEXT: .functype .Lhas_i64_arg_bitcast_invalid.2 (i32) -> (i32)
57+ ; CHECK-LABEL: .Lhas_i64_arg_bitcast_invalid.1 :
58+ ; CHECK-NEXT: .functype .Lhas_i64_arg_bitcast_invalid.1 (i32) -> (i32)
5959; CHECK-NEXT: unreachable
6060; CHECK-NEXT: end_function
6161
6464; CHECK-NEXT: unreachable
6565; CHECK-NEXT: end_function
6666
67- ; CHECK-LABEL: .Lhas_ptr_arg_bitcast_invalid.4 :
68- ; CHECK-NEXT: .functype .Lhas_ptr_arg_bitcast_invalid.4 (i32) -> (i32)
67+ ; CHECK-LABEL: .Lhas_ptr_arg_bitcast_invalid.2 :
68+ ; CHECK-NEXT: .functype .Lhas_ptr_arg_bitcast_invalid.2 (i32) -> (i32)
6969; CHECK-NEXT: unreachable
7070; CHECK-NEXT: end_function
0 commit comments