summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-09-30 17:38:34 +0000
committerEli Bendersky <eliben@google.com>2014-09-30 17:38:34 +0000
commitf2787a0dc0eeb57990ecba67b76b7d3557e13b0b (patch)
tree3711e796a712b0c54f3515ed55ffad3c86022168 /llvm/lib/CodeGen
parent8d81bdf11fe02b286702c416b9cb5ebfa05b68fc (diff)
downloadbcm5719-llvm-f2787a0dc0eeb57990ecba67b76b7d3557e13b0b.tar.gz
bcm5719-llvm-f2787a0dc0eeb57990ecba67b76b7d3557e13b0b.zip
CUDA: mark the target of implicit intrinsics properly
r218624 implemented target inference for implicit special members. However, other entities can be implicit - for example intrinsics. These can not have inference running on them, so they should be marked host device as before. This is the safest and most flexible setting, since by construction these functions don't invoke anything, and we'd like them to be invokable from both host and device code. LLVM's intrinsics definitions (where these intrinsics come from in the case of CUDA/NVPTX) have no notion of target, so both host and device intrinsics can be supported this way. llvm-svn: 218688
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud