[clang] [CIR] Upstream CUDA mangling test with LLVM and OGCG verification (PR #184444)

Akimasa Watanuki via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 08:02:51 PDT 2026


================
@@ -0,0 +1,132 @@
+// REQUIRES: nvptx-registered-target
+
+// RUN: %if cir-enabled %{ %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -x cuda -emit-cir -target-sdk-version=12.3 %s -o %t.cir %}
+// RUN: %if cir-enabled %{ FileCheck --check-prefix=CIR-HOST --input-file=%t.cir %s %}
----------------
Men-cotton wrote:

Use pipes instead of temporary files.

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


More information about the cfe-commits mailing list