]> granicus.if.org Git - clang/commit
Reapply 201734 but with appropriate gcc compatibility
authorWarren Hunt <whunt@google.com>
Fri, 21 Feb 2014 23:08:53 +0000 (23:08 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 21 Feb 2014 23:08:53 +0000 (23:08 +0000)
commit9192e3bb4ad02fde472780faff5ee4d0eb272775
treefe756f78d639f1420528e3a9051b4f4dbf1ee561
parent78684c078ec039c4efbc26c07cec7c43692727eb
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
include/clang/Basic/Builtins.def
include/clang/Basic/BuiltinsX86.def
include/clang/Sema/Sema.h
lib/CodeGen/CGBuiltin.cpp
lib/Headers/Intrin.h
lib/Headers/xmmintrin.h
lib/Sema/SemaChecking.cpp