[clang] cuda clang: Move nvptx-surface.cu test to CodeGenCUDA (PR #134758)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 12:09:29 PDT 2025


================
@@ -2,6 +2,170 @@
 // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
 #include "Inputs/cuda.h"
 
+struct char1 {
----------------
Artem-B wrote:

See above. propagate-attributes.cu just needs to apply `extern "C"` to the functions in the test file only. There's no magic there. It's used for convenience only to keep function names unmangled in the check patterns.

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


More information about the cfe-commits mailing list