[clang] [CIR] Allow lifetime markers before begin_catch in a try handler (PR #219600)
Jiahao Guo via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 28 21:55:56 PDT 2026
================
@@ -7,7 +7,7 @@
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O2 -fcxx-exceptions -fexceptions -fclangir -emit-cir %s -o %t-eh.cir
// RUN: FileCheck --input-file=%t-eh.cir %s --check-prefix=CIR-EH
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O2 -fcxx-exceptions -fexceptions -fclangir -emit-llvm -disable-llvm-passes %s -o %t-eh.ll
-// RUN: FileCheck --input-file=%t-eh.ll %s --check-prefix=LLVM-EH
+// RUN: FileCheck --input-file=%t-eh.ll %s --check-prefixes=LLVM-EH
----------------
E00N777 wrote:
Given that the error issue https://github.com/llvm/llvm-project/issues/219549 indicates -O1+, I believe a test for O1 should also be added.
https://github.com/llvm/llvm-project/pull/219600
More information about the cfe-commits
mailing list