Skip to content

Commit 9682077

Browse files
Rename tests to match with new mangled names
1 parent 36d3cf6 commit 9682077

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/test/CIR/CodeGen/switch.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void sw1(int a) {
1616
}
1717
}
1818
}
19-
// CIR: cir.func @sw1
19+
// CIR: cir.func @_Z3sw1i
2020
// CIR: cir.switch (%3 : !s32i) {
2121
// CIR-NEXT: cir.case(equal, [#cir.int<0> : !s32i]) {
2222
// CIR: cir.break
@@ -64,7 +64,7 @@ void sw2(int a) {
6464
}
6565
}
6666

67-
// CIR: cir.func @sw2
67+
// CIR: cir.func @_Z3sw2i
6868
// CIR: cir.scope {
6969
// CIR-NEXT: %1 = cir.alloca !s32i, !cir.ptr<!s32i>, ["yolo", init]
7070
// CIR-NEXT: %2 = cir.alloca !s32i, !cir.ptr<!s32i>, ["fomo", init]
@@ -97,7 +97,7 @@ void sw5(int a) {
9797
}
9898
}
9999

100-
// CIR: cir.func @sw5
100+
// CIR: cir.func @_Z3sw5i
101101
// CIR: cir.switch (%1 : !s32i) {
102102
// CIR-NEXT: cir.case(equal, [#cir.int<1> : !s32i]) {
103103
// CIR-NEXT: cir.yield
@@ -126,7 +126,7 @@ void sw12(int a) {
126126
}
127127
}
128128

129-
// CIR: cir.func @sw12
129+
// CIR: cir.func @_Z4sw12i
130130
// CIR: cir.scope {
131131
// CIR: cir.switch
132132
// CIR-NEXT: cir.case(equal, [#cir.int<3> : !s32i]) {
@@ -157,7 +157,7 @@ void sw13(int a, int b) {
157157
}
158158
}
159159

160-
// CIR: cir.func @sw13
160+
// CIR: cir.func @_Z4sw13ii
161161
// CIR: cir.scope {
162162
// CIR: cir.switch
163163
// CIR-NEXT: cir.case(equal, [#cir.int<1> : !s32i]) {

0 commit comments

Comments
 (0)