]> granicus.if.org Git - clang/commitdiff
Add a comment and FIXME based on the commit message that made the
authorEric Christopher <echristo@gmail.com>
Fri, 19 Jun 2015 18:09:33 +0000 (18:09 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 19 Jun 2015 18:09:33 +0000 (18:09 +0000)
intrinsic _mm_prefetch into a builtin rather than by textual inclusion
via the intrinsic headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240152 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/BuiltinsX86.def

index 1a597b5c27d40508cb6a94fa850b9cdf8f8de412..00c1340ac37fc39c55e4be716d72d1dde5cec709 100644 (file)
@@ -59,6 +59,9 @@ BUILTIN(__builtin_ia32_pswapdsi, "V2iV2i", "nc")
 // All MMX instructions will be generated via builtins. Any MMX vector
 // types (<1 x i64>, <2 x i32>, etc.) that aren't used by these builtins will be
 // expanded by the back-end.
+// FIXME: _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 for windows.
 BUILTIN(_mm_prefetch, "vcC*i", "nc")
 BUILTIN(__builtin_ia32_emms, "v", "")
 BUILTIN(__builtin_ia32_paddb, "V8cV8cV8c", "")