[clang] [CIR] Upstream CmpOp (PR #133159)
Morris Hafner via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 10:11:07 PDT 2025
================
@@ -0,0 +1,233 @@
+// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir -DCIR_ONLY %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-cir.ll
+// RUN: FileCheck --input-file=%t-cir.ll %s -check-prefix=LLVM
----------------
mmha wrote:
Done. I also added tests for int/ptr to bool in the casting tests.
https://github.com/llvm/llvm-project/pull/133159
More information about the cfe-commits
mailing list