[libc-commits] [PATCH] D141045: [libc] Add a section about supported compilers in the documentation

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jan 5 05:35:59 PST 2023


gchatelet created this revision.
gchatelet added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, arphaman.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.

Context https://github.com/llvm/llvm-project/issues/59368


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141045

Files:
  libc/docs/compiler_support.rst
  libc/docs/index.rst


Index: libc/docs/index.rst
===================================================================
--- libc/docs/index.rst
+++ libc/docs/index.rst
@@ -69,6 +69,7 @@
    :maxdepth: 1
    :caption: Development
 
+   compiler_support
    build_and_test
    developer_guides
    porting
Index: libc/docs/compiler_support.rst
===================================================================
--- /dev/null
+++ libc/docs/compiler_support.rst
@@ -0,0 +1,17 @@
+.. _compiler_support:
+
+================
+Compiler Support
+================
+
+As of now only ``Clang`` is fully supported.
+
+We are in the process of supporting ``GCC`` but 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
+
+Minimum version
+===============
+
+ - ``Clang 11``


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141045.486536.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230105/32860544/attachment.bin>


More information about the libc-commits mailing list