diff options
author | Justin Lebar <jlebar@google.com> | 2017-01-05 16:51:37 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2017-01-05 16:51:37 +0000 |
commit | 76b76dc49910be865a9b0e6735008f80dd73c6e4 (patch) | |
tree | 0229006c142d331c84b2b30253e13976404cb6d2 /utils | |
parent | 68c2f4e5aad7a32eec0b67904723f372b79b19d6 (diff) |
[Windows] Remove functions in intrin.h that are defined in Builtin.def.
Summary:
These duplicate declarations cause a problem for CUDA compiles on
Windows. All implicitly-defined functions are host+device, and this
applies to the declarations in Builtin.def. But then when we see the
declarations in intrin.h, they have no attributes, so are host-only
functions. This is an error.
(A better fix might be to make these builtins host-only, but that is a
much bigger change.)
Reviewers: rnk
Subscribers: cfe-commits, echristo
Differential Revision: https://reviews.llvm.org/D28317
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions