[libc-commits] [PATCH] D143389: [libc][doc] Update compiler
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Feb 7 01:32:59 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG83e98c85564a: [libc][doc] Update compiler (authored by gchatelet).
Changed prior to commit:
https://reviews.llvm.org/D143389?vs=495091&id=495424#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143389/new/
https://reviews.llvm.org/D143389
Files:
libc/docs/compiler_support.rst
Index: libc/docs/compiler_support.rst
===================================================================
--- libc/docs/compiler_support.rst
+++ libc/docs/compiler_support.rst
@@ -4,14 +4,21 @@
Compiler Support
================
-As of now only ``Clang`` is fully supported.
+``LLVM libc`` compiles from both ``Clang`` and ``GCC`` but for maximum
+performance we recommand using ``Clang``.
-We are in the process of supporting ``GCC`` but some memory function implementations rely on `compiler intrinsics`__ that are not currently available in ``GCC``.
+Indeed, some memory function implementations rely on `compiler intrinsics`__
+that are not currently available in ``GCC``.
As such we cannot guarantee optimal performance for these functions.
.. __: https://clang.llvm.org/docs/LanguageExtensions.html#guaranteed-inlined-copy
+For platforms where only ``GCC`` is natively available but maximum performance
+is required it is possible to bootstrap ``Clang`` with ``GCC`` and then use
+``Clang`` to build the '`libc``" project.
+
Minimum version
===============
- ``Clang 11``
+ - ``GCC 12.2```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143389.495424.patch
Type: text/x-patch
Size: 1113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230207/b7c56934/attachment.bin>
More information about the libc-commits
mailing list