@@ -12,7 +12,7 @@ void A(void) {
12
12
}
13
13
// CIR: cir.func dso_local @A
14
14
// CIR: [[PTR:%.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr", init] {alignment = 8 : i64}
15
- // CIR: [[BLOCK:%.*]] = cir.blockaddress( @A, "A") -> !cir.ptr<!void>
15
+ // CIR: [[BLOCK:%.*]] = cir.blockaddress < @A, "A"> -> !cir.ptr<!void>
16
16
// CIR: cir.store align(8) [[BLOCK]], [[PTR]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
17
17
// CIR: cir.br ^bb1
18
18
// CIR: ^bb1: // pred: ^bb0
@@ -43,7 +43,7 @@ void B(void) {
43
43
// CIR: cir.func dso_local @B()
44
44
// CIR: cir.label "B"
45
45
// CIR: [[PTR:%.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr", init] {alignment = 8 : i64}
46
- // CIR: [[BLOCK:%.*]] = cir.blockaddress( @B, "B") -> !cir.ptr<!void>
46
+ // CIR: [[BLOCK:%.*]] = cir.blockaddress < @B, "B"> -> !cir.ptr<!void>
47
47
// CIR: cir.store align(8) [[BLOCK]], [[PTR]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
48
48
// CIR: cir.return
49
49
@@ -72,8 +72,8 @@ void C(int x) {
72
72
}
73
73
74
74
// CIR: cir.func dso_local @C
75
- // CIR: [[BLOCK1:%.*]] = cir.blockaddress( @C, "A") -> !cir.ptr<!void>
76
- // CIR: [[BLOCK2:%.*]] = cir.blockaddress( @C, "B") -> !cir.ptr<!void>
75
+ // CIR: [[BLOCK1:%.*]] = cir.blockaddress < @C, "A"> -> !cir.ptr<!void>
76
+ // CIR: [[BLOCK2:%.*]] = cir.blockaddress < @C, "B"> -> !cir.ptr<!void>
77
77
// CIR: [[COND:%.*]] = cir.select if [[CMP:%.*]] then [[BLOCK1]] else [[BLOCK2]] : (!cir.bool, !cir.ptr<!void>, !cir.ptr<!void>) -> !cir.ptr<!void>
78
78
// CIR: cir.store align(8) [[COND]], [[PTR:%.*]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
79
79
// CIR: cir.br ^bb2
@@ -122,14 +122,14 @@ void D(void) {
122
122
// CIR: %[[PTR:.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr", init]
123
123
// CIR: %[[PTR2:.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr2", init]
124
124
// CIR: %[[PTR3:.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr3", init]
125
- // CIR: %[[BLK1:.*]] = cir.blockaddress( @D, "A") -> !cir.ptr<!void>
125
+ // CIR: %[[BLK1:.*]] = cir.blockaddress < @D, "A"> -> !cir.ptr<!void>
126
126
// CIR: cir.store align(8) %[[BLK1]], %[[PTR]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
127
- // CIR: %[[BLK2:.*]] = cir.blockaddress( @D, "A") -> !cir.ptr<!void>
127
+ // CIR: %[[BLK2:.*]] = cir.blockaddress < @D, "A"> -> !cir.ptr<!void>
128
128
// CIR: cir.store align(8) %[[BLK2]], %[[PTR2]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
129
129
// CIR: cir.br ^bb1
130
130
// CIR: ^bb1: // pred: ^bb0
131
131
// CIR: cir.label "A"
132
- // CIR: %[[BLK3:.*]] = cir.blockaddress( @D, "A") -> !cir.ptr<!void>
132
+ // CIR: %[[BLK3:.*]] = cir.blockaddress < @D, "A"> -> !cir.ptr<!void>
133
133
// CIR: cir.store align(8) %[[BLK3]], %[[PTR3]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
134
134
// CIR: cir.return
135
135
0 commit comments