[PATCH] D45061: [NVPTX, CUDA] Use custom feature detection to handle NVPTX target builtins.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 14:23:37 PDT 2018


tra updated this revision to Diff 140334.
tra added a comment.

Run the tests with -target-cpu sm_61 to make sure intrinsics that require sm_60 are still enabled.


https://reviews.llvm.org/D45061

Files:
  clang/include/clang/Basic/BuiltinsNVPTX.def
  clang/include/clang/Basic/Cuda.h
  clang/lib/Basic/Targets/NVPTX.cpp
  clang/lib/Basic/Targets/NVPTX.h
  clang/test/CodeGen/builtins-nvptx-ptx50.cu
  clang/test/CodeGen/builtins-nvptx.c
  llvm/lib/Target/NVPTX/NVPTX.td
  llvm/lib/Target/NVPTX/NVPTXSubtarget.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45061.140334.patch
Type: text/x-patch
Size: 42743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180329/b5886837/attachment-0001.bin>


More information about the cfe-commits mailing list