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 | 20e4a5d2afc6625457b60b004863b376dab62898 (patch) | |
tree | 6751108dcbb92f17e160aaa90ad6e8fd25be0e0a /clang/lib/CodeGen/CodeGenModule.h | |
parent | a5dc335574b37be8ebeedb42c92651eac4b5fc1b (diff) | |
download | bcm5719-llvm-20e4a5d2afc6625457b60b004863b376dab62898.tar.gz bcm5719-llvm-20e4a5d2afc6625457b60b004863b376dab62898.zip |
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.
llvm-svn: 201901
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions