[libc-commits] [PATCH] D143389: [libc][doc] Update compiler
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Feb 6 05:03:37 PST 2023
gchatelet created this revision.
gchatelet added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.
Repository:
rG LLVM Github Monorepo
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,17 @@
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 ``LLVM libc``.
+
Minimum version
===============
- ``Clang 11``
+ - ``GCC 12.2```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143389.495091.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230206/793e6874/attachment.bin>
More information about the libc-commits
mailing list