Skip to content

Commit f1ac289

Browse files
committed
Update tests
1 parent 903e2c0 commit f1ac289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/CodeGen/array-ctor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void foo() {
4040
// CIR: cir.yield
4141
// CIR: } while {
4242
// CIR: %[[CURRENT2:.*]] = cir.load %[[ITER]] : !cir.ptr<!cir.ptr<!rec_S>>, !cir.ptr<!rec_S>
43-
// CIR: %[[CMP:.*]] = cir.cmp(eq, %[[CURRENT2]], %[[END_PTR]]) : !cir.ptr<!rec_S>, !cir.bool
43+
// CIR: %[[CMP:.*]] = cir.cmp(ne, %[[CURRENT2]], %[[END_PTR]]) : !cir.ptr<!rec_S>, !cir.bool
4444
// CIR: cir.condition(%[[CMP]])
4545
// CIR: }
4646
// CIR: cir.return
@@ -55,7 +55,7 @@ void foo() {
5555
// LLVM: br label %[[LOOP:.*]]
5656
// LLVM: [[COND:.*]]:
5757
// LLVM: %[[CURRENT_CHECK:.*]] = load ptr, ptr %[[ITER]]
58-
// LLVM: %[[DONE:.*]] = icmp eq ptr %[[CURRENT_CHECK]], %[[END]]
58+
// LLVM: %[[DONE:.*]] = icmp ne ptr %[[CURRENT_CHECK]], %[[END]]
5959
// LLVM: br i1 %[[DONE]], label %[[LOOP]], label %[[EXIT:.*]]
6060
// LLVM: [[LOOP]]:
6161
// LLVM: %[[CURRENT:.*]] = load ptr, ptr %[[ITER]]

0 commit comments

Comments
 (0)