diff options
| author | Warren Hunt <whunt@google.com> | 2014-02-21 23:08:53 +0000 |
|---|---|---|
| committer | Warren Hunt <whunt@google.com> | 2014-02-21 23:08:53 +0000 |
| commit | 9192e3bb4ad02fde472780faff5ee4d0eb272775 (patch) | |
| tree | fe756f78d639f1420528e3a9051b4f4dbf1ee561 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 78684c078ec039c4efbc26c07cec7c43692727eb (diff) | |
| download | clang-9192e3bb4ad02fde472780faff5ee4d0eb272775.tar.gz clang-9192e3bb4ad02fde472780faff5ee4d0eb272775.tar.bz2 clang-9192e3bb4ad02fde472780faff5ee4d0eb272775.tar.xz | |
Reapply 201734 but with appropriate gcc compatibility
Because GCC incorrectly defines _mm_prefetch to take anything that casts
to void*, people have started using that behavior. The previous patch
that made _mm_prefetch actually take a const char * broke compatibility
with existing code. This update to the patch leaves the macro that
defines _mm_prefetch with the (void*) cast when _MSC_VER is not defined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
