HomePhabricator

[NVPTX, CUDA] Improved feature constraints on NVPTX target builtins.

Description

[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

Details

Committed
traApr 11 2018, 10:51 AM
Differential Revision
D45061: [NVPTX, CUDA] Improved feature constraints on NVPTX target builtins.
Branches
Unknown
Tags
Unknown