[clang] [CIR] Upstream support for emitting ignored statements (PR #130869)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 12 12:56:42 PDT 2025


================
@@ -1,7 +1,9 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-cir %s -o %t.cir
 // RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-llvm %s -o %t.ll
-// RUN: FileCheck --input-file=%t.ll %s -check-prefix=LLVM
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-llvm %s -o %t-cir.ll
+// RUN: FileCheck --input-file=%t-cir.ll %s -check-prefix=LLVM
----------------
andykaylor wrote:

I thought the intermediate files got automatically deleted. I can put this back to using the intermediate files.

https://github.com/llvm/llvm-project/pull/130869


More information about the cfe-commits mailing list