Skip to content

Commit 399ce3b

Browse files
committed
[CIR] update longjmp op test
1 parent 719478c commit 399ce3b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/test/CIR/CodeGen/builtin-setjmp-longjmp.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,11 @@ void test_longjmp(void *env) {
7474

7575

7676
// LLVM-LABEL: test_longjmp
77-
// LLVM-SAME: (ptr{{.*}}[[ENV:%.*]])
78-
// LLVM-NEXT: @llvm.eh.sjlj.longjmp(ptr{{.*}}[[ENV]])
77+
// LLVM: @llvm.eh.sjlj.longjmp
7978
// LLVM-NEXT: unreachable
8079

8180
// OGCG-LABEL: test_longjmp
82-
// OGCG-SAME: (ptr{{.*}}[[ENV:%.*]])
83-
// OGCG: @llvm.eh.sjlj.longjmp(ptr{{.*}}[[ENV]])
81+
// OGCG: @llvm.eh.sjlj.longjmp
8482
// OGCG-NEXT: unreachable
8583
__builtin_longjmp(env, 1);
8684
}

0 commit comments

Comments
 (0)