[clang] [CIR] CIRGen via libcall for OpenCL atomic builtins (PR #229423)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 11 07:20:13 PDT 2026


================
@@ -0,0 +1,70 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-atomic-alignment -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-atomic-alignment -fclangir -emit-llvm %s -o %t.ll
----------------
Lancern wrote:

I've opened #230967 to resolve the upstream issue.

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


More information about the cfe-commits mailing list