[clang] [CIR] Classify reference-to-pointer catch parameters in CIRGen (PR #229579)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 7 12:55:41 PDT 2026
================
@@ -1,9 +1,9 @@
// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fclangir -emit-cir %s -o %t.cir
// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fclangir -emit-llvm %s -o %t-cir.ll
-// RUN: FileCheck --input-file=%t-cir.ll %s -check-prefix=LLVM
+// RUN: FileCheck --input-file=%t-cir.ll %s -check-prefixes=LLVM,SHARED
----------------
andykaylor wrote:
I see that you did it this way (rather than the more common LLVM=shared, LLVMCIR/OGCG=differences) because only the new tests have shared checks. That's reasonable, but it would be nice to have a follow-up PR that updates the entire test to use shared checks throughout.
https://github.com/llvm/llvm-project/pull/229579
More information about the cfe-commits
mailing list