[clang] [CIR] Add non-floating-point builtin intrinsics (PR #178093)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 15:15:30 PST 2026
================
@@ -1,5 +1,14 @@
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
// RUN: FileCheck --input-file=%t.cir %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t.ll
+// RUN: FileCheck --check-prefix=LLVM --input-file=%t.ll %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o %t-ogcg.ll
+// RUN: FileCheck --check-prefix=OGCG --input-file=%t-ogcg.ll %s
+
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir -fwrapv
----------------
andykaylor wrote:
Right. I'm not sure what I was looking at. What about a -fwrapv run for OGCG?
https://github.com/llvm/llvm-project/pull/178093
More information about the cfe-commits
mailing list