[clang] [CIR] Upstream initial support for unary op (PR #131369)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 11:53:40 PDT 2025


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

Well, you know, I needed some abbreviation, and this seemed as good as anything else in addition to being fun.

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


More information about the cfe-commits mailing list