r201920 - [_mm_prefetch] Returning previously deleted comment.

Warren Hunt whunt at google.com
Fri Feb 21 16:47:24 PST 2014

Author: whunt
Date: Fri Feb 21 18:47:24 2014
New Revision: 201920

URL: http://llvm.org/viewvc/llvm-project?rev=201920&view=rev
[_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.


Modified: cfe/trunk/lib/Headers/xmmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/xmmintrin.h?rev=201920&r1=201919&r2=201920&view=diff
--- cfe/trunk/lib/Headers/xmmintrin.h (original)
+++ cfe/trunk/lib/Headers/xmmintrin.h Fri Feb 21 18:47:24 2014
@@ -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)))

More information about the cfe-commits mailing list