aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2015-04-21 22:55:54 +0000
committerArtem Belevich <tra@google.com>2015-04-21 22:55:54 +0000
commit7093e4064116b710a3b61aebdca60c215f5c29fe (patch)
treeeb60e35036d16b30ce51846a93bdf935e1d2b022 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent6e3344ed98a3432bf59a9d9b28b7bb869ca10912 (diff)
downloadllvm-7093e4064116b710a3b61aebdca60c215f5c29fe.zip
llvm-7093e4064116b710a3b61aebdca60c215f5c29fe.tar.gz
llvm-7093e4064116b710a3b61aebdca60c215f5c29fe.tar.bz2
[cuda] Allow using integral non-type template parameters as launch_bounds attribute arguments.
- Changed CUDALaunchBounds arguments from integers to Expr* so they can be saved in AST for instantiation. - Added support for template instantiation of launch_bounds attrubute. - Moved evaluation of launch_bounds arguments to NVPTXTargetCodeGenInfo:: SetTargetAttributes() where it can be done after template instantiation. - Added a warning on negative launch_bounds arguments. - Amended test cases. Differential Revision: http://reviews.llvm.org/D8985 llvm-svn: 235452
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions