@@ -12,7 +12,7 @@ void A(void) {
1212}
1313// CIR: cir.func dso_local @A
1414// 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>
1616// CIR: cir.store align(8) [[BLOCK]], [[PTR]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
1717// CIR: cir.br ^bb1
1818// CIR: ^bb1: // pred: ^bb0
@@ -43,7 +43,7 @@ void B(void) {
4343// CIR: cir.func dso_local @B()
4444// CIR: cir.label "B"
4545// 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>
4747// CIR: cir.store align(8) [[BLOCK]], [[PTR]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
4848// CIR: cir.return
4949
@@ -72,8 +72,8 @@ void C(int x) {
7272}
7373
7474// 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>
7777// CIR: [[COND:%.*]] = cir.select if [[CMP:%.*]] then [[BLOCK1]] else [[BLOCK2]] : (!cir.bool, !cir.ptr<!void>, !cir.ptr<!void>) -> !cir.ptr<!void>
7878// CIR: cir.store align(8) [[COND]], [[PTR:%.*]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
7979// CIR: cir.br ^bb2
@@ -122,14 +122,14 @@ void D(void) {
122122// CIR: %[[PTR:.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr", init]
123123// CIR: %[[PTR2:.*]] = cir.alloca !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>, ["ptr2", init]
124124// 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>
126126// 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>
128128// CIR: cir.store align(8) %[[BLK2]], %[[PTR2]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
129129// CIR: cir.br ^bb1
130130// CIR: ^bb1: // pred: ^bb0
131131// CIR: cir.label "A"
132- // CIR: %[[BLK3:.*]] = cir.blockaddress( @D, "A") -> !cir.ptr<!void>
132+ // CIR: %[[BLK3:.*]] = cir.blockaddress < @D, "A"> -> !cir.ptr<!void>
133133// CIR: cir.store align(8) %[[BLK3]], %[[PTR3]] : !cir.ptr<!void>, !cir.ptr<!cir.ptr<!void>>
134134// CIR: cir.return
135135
0 commit comments