[PATCH] D28538: [CodeGen] [CUDA] Add the ability set default attrs on functions in linked modules.
Justin Lebar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 16:36:12 PST 2017
jlebar updated this revision to Diff 85305.
jlebar added a comment.
Add comment and update test to check overriding behvaior.
It turns out no code changes were necessary to get the "override-if-present"
behavior we wanted. addAttribute was already doing this.
https://reviews.llvm.org/D28538
Files:
clang/include/clang/CodeGen/CodeGenAction.h
clang/include/clang/Frontend/CodeGenOptions.h
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CodeGenAction.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGenCUDA/propagate-metadata.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28538.85305.patch
Type: text/x-patch
Size: 26741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/6cd5f343/attachment.bin>
More information about the llvm-commits
mailing list