Add and describe a quick script to migrate gcc builtins that clang doesn't
know about to the default APIs for x86 vector operations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117313 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/compatibility.html b/www/compatibility.html
index bd22f9a..68fd025 100644
--- a/www/compatibility.html
+++ b/www/compatibility.html
@@ -141,6 +141,16 @@
architectures respectively. For these, make sure to use the <arm_neon.h>
and <altivec.h> headers.</p>
+<p>For x86 architectures this <a href="builtins.py">script</a> should help with
+the manual migration process. It will rewrite your source files in place to
+use the APIs instead of builtin function calls. Just call it like this:</p>
+
+<pre>
+ builtins.py *.c *.h
+</pre>
+
+<p>and it will rewrite all of the .c and .h files in the current directory to
+use the API calls instead of calls like <tt>__builtin_ia32_paddw128</tt>.</p>
<!-- ======================================================================= -->
<h3 id="lvalue-cast">Lvalue casts</h3>