summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-02-22 00:47:24 +0000
committerWarren Hunt <whunt@google.com>2014-02-22 00:47:24 +0000
commit0dc28ea30121753aca53725228f000fe53ca38f3 (patch)
treec626d1149614519621ef9a4496750406e36b43d9 /clang/lib/Headers
parent090995122db34a75c7a193339a98db4474168db4 (diff)
downloadbcm5719-llvm-0dc28ea30121753aca53725228f000fe53ca38f3.tar.gz
bcm5719-llvm-0dc28ea30121753aca53725228f000fe53ca38f3.zip
[_mm_prefetch] Returning previously deleted comment.
No functional change. It's unclear if the word FIXME is relevant given that the macro behaves as intended. llvm-svn: 201920
Diffstat (limited to 'clang/lib/Headers')
-rw-r--r--clang/lib/Headers/xmmintrin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Headers/xmmintrin.h b/clang/lib/Headers/xmmintrin.h
index 9a2841fc59b..c8765a70f8b 100644
--- a/clang/lib/Headers/xmmintrin.h
+++ b/clang/lib/Headers/xmmintrin.h
@@ -673,6 +673,9 @@ _mm_storer_ps(float *__p, __m128 __a)
#define _MM_HINT_NTA 0
#ifndef _MSC_VER
+/* FIXME: We have to #define this because "sel" must be a constant integer, and
+ Sema doesn't do any form of constant propagation yet. */
+
#define _mm_prefetch(a, sel) (__builtin_prefetch((void *)(a), 0, (sel)))
#endif
OpenPOWER on IntegriCloud