diff options
author | Eli Bendersky <eliben@google.com> | 2014-04-15 16:57:05 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2014-04-15 16:57:05 +0000 |
commit | e06a2c4f9079ca436463b9609310e7cfd0e6dfe4 (patch) | |
tree | 217e415f5a063048704fbbab1412cfd87e86095e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 52eaffee030e560d72874cd16b3a389c78bc66c7 (diff) | |
download | llvm-e06a2c4f9079ca436463b9609310e7cfd0e6dfe4.zip llvm-e06a2c4f9079ca436463b9609310e7cfd0e6dfe4.tar.gz llvm-e06a2c4f9079ca436463b9609310e7cfd0e6dfe4.tar.bz2 |
Add support for CUDA __launch_bounds__ attribute to CodeGen.
Sema does have a CUDALaunchBoundsAttr, but CodeGen was doing nothing with it.
This change translates CUDALaunchBoundsAttr to maxntidx and minctasm
metadata, which NVPTX then translates to the correct PTX directives.
Patch by Manjunath Kudlur.
llvm-svn: 206302
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions