Skip to content

Commit 5954af2

Browse files
authored
[CIR][NFC] Fix a wrong test case in fc293bb (#1503)
1 parent dec9a17 commit 5954af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CIR/CodeGen/try-catch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void tc7() {
163163
// CHECK: cir.scope {
164164
// CHECK: cir.try {
165165
// CHECK: %[[V2:.*]] = cir.load {{.*}} : !cir.ptr<!s32i>, !s32i
166-
// CHECK: %[[V3:.*]] = cir.unary(inc, %[[V2]]) : !s32i, !s32i
166+
// CHECK: %[[V3:.*]] = cir.unary(inc, %[[V2]]) nsw : !s32i, !s32i
167167
// CHECK: cir.store %[[V3]], {{.*}} : !s32i, !cir.ptr<!s32i>
168168
// CHECK: cir.return
169169
// CHECK: }

0 commit comments

Comments
 (0)