commit | d80a410d30d26e6cedc172c38abad381b5746140 | [log] [tgz] |
---|---|---|
author | Artem Belevich <tra@google.com> | Wed Apr 11 17:51:19 2018 +0000 |
committer | Artem Belevich <tra@google.com> | Wed Apr 11 17:51:19 2018 +0000 |
tree | f9bdd4381cbe81d172395cb8dc4e23846379c37b | |
parent | 91ebcebf1345d8edeed7bc52a47705d4fc3496b0 [diff] |
[NVPTX, CUDA] Improved feature constraints on NVPTX target builtins. When NVPTX TARGET_BUILTIN specifies sm_XX or ptxYY as required feature, consider those features available if we're compiling for GPU >= sm_XX or have enabled PTX version >= ptxYY. Differential Revision: https://reviews.llvm.org/D45061 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329829 91177308-0d34-0410-b5e6-96231b3b80d8