aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-02-19 23:20:20 +0000
committerWarren Hunt <whunt@google.com>2014-02-19 23:20:20 +0000
commit40d6f29ad8eb637333a4da4dbdabf79df67637eb (patch)
treef35f1978293be482a0499c6403bbfe2a5611c0d2 /clang/lib/Basic/SourceManager.cpp
parent5142a2c03ae9553dada3f2f478a905f42c2f3e34 (diff)
downloadllvm-40d6f29ad8eb637333a4da4dbdabf79df67637eb.zip
llvm-40d6f29ad8eb637333a4da4dbdabf79df67637eb.tar.gz
llvm-40d6f29ad8eb637333a4da4dbdabf79df67637eb.tar.bz2
Add _mm_prefetch and some others as MS builtins
This patch adds several built-ins that are required for ms compatibility. _mm_prefetch must be a built-in because it takes a compile-time constant argument and our prior approach of using a #define to the current built-in doesn't work in the presence of re-declaration of _mm_prefetch. The others can be obtained by including the windows system headers. If a user includes the windows system headers but not intrin.h they still need to work and therefore must be built-in because we don't get a chance to implement them in intrin.h in this case. llvm-svn: 201734
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions