summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CMakeLists.txt
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-01-23 21:28:14 +0000
committerJustin Lebar <jlebar@google.com>2016-01-23 21:28:14 +0000
commit3039a593db6f013c374d25b715a56e6098bfe17f (patch)
treeca83ab20af1fc04b6c6cf0c4f62b32ab5f1ef0ad /clang/lib/CodeGen/CMakeLists.txt
parenta8f0254bc1a4bdb3061d033cb5b9a3997bfc9a98 (diff)
downloadbcm5719-llvm-3039a593db6f013c374d25b715a56e6098bfe17f.tar.gz
bcm5719-llvm-3039a593db6f013c374d25b715a56e6098bfe17f.zip
[CUDA] Make printf work.
Summary: The code in CGCUDACall is largely based on a patch written by Eli Bendersky: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20140324/210218.html That patch implemented an LLVM pass lowering printf to vprintf; this one does something similar, but in Clang codegen. Reviewers: echristo Subscribers: cfe-commits, jhen, tra, majnemer Differential Revision: http://reviews.llvm.org/D16372 llvm-svn: 258642
Diffstat (limited to 'clang/lib/CodeGen/CMakeLists.txt')
-rw-r--r--clang/lib/CodeGen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt
index 10bda76b6b6..ed028ad4d21 100644
--- a/clang/lib/CodeGen/CMakeLists.txt
+++ b/clang/lib/CodeGen/CMakeLists.txt
@@ -32,6 +32,7 @@ add_clang_library(clangCodeGen
CGAtomic.cpp
CGBlocks.cpp
CGBuiltin.cpp
+ CGCUDABuiltin.cpp
CGCUDANV.cpp
CGCUDARuntime.cpp
CGCXX.cpp
OpenPOWER on IntegriCloud