[clang] 27c099b - Move CodeGen cuda.h to Inputs from include (#134706)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 7 12:23:13 PDT 2025


Author: Drew Lewis
Date: 2025-04-07T12:23:10-07:00
New Revision: 27c099bc84d1432752b3828f1ba95de24db76c5e

URL: https://github.com/llvm/llvm-project/commit/27c099bc84d1432752b3828f1ba95de24db76c5e
DIFF: https://github.com/llvm/llvm-project/commit/27c099bc84d1432752b3828f1ba95de24db76c5e.diff

LOG: Move CodeGen cuda.h to Inputs from include (#134706)

Mirrors the behavior of CodeGenCUDA directory and the location of other
.h files in CodeGen.

Added: 
    clang/test/CodeGen/Inputs/cuda.h

Modified: 
    clang/test/CodeGen/nvptx-surface.cu

Removed: 
    clang/test/CodeGen/include/cuda.h


################################################################################
diff  --git a/clang/test/CodeGen/include/cuda.h b/clang/test/CodeGen/Inputs/cuda.h
similarity index 100%
rename from clang/test/CodeGen/include/cuda.h
rename to clang/test/CodeGen/Inputs/cuda.h

diff  --git a/clang/test/CodeGen/nvptx-surface.cu b/clang/test/CodeGen/nvptx-surface.cu
index cf1fe76893a17..56995f2c0da80 100644
--- a/clang/test/CodeGen/nvptx-surface.cu
+++ b/clang/test/CodeGen/nvptx-surface.cu
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -triple nvptx-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
 // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
-#include "include/cuda.h"
+#include "Inputs/cuda.h"
 
 #include "__clang_cuda_texture_intrinsics.h"
 


        


More information about the cfe-commits mailing list