[llvm-branch-commits] [clang] b54c957 - [Docs] Release 14 notes for SPIR-V in clang.

Anastasia Stulova via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 16 03:20:07 PST 2022


Author: Anastasia Stulova
Date: 2022-02-16T11:09:32Z
New Revision: b54c95790b8a410b8eab1cbaae306cdc56a8e82a

URL: https://github.com/llvm/llvm-project/commit/b54c95790b8a410b8eab1cbaae306cdc56a8e82a
DIFF: https://github.com/llvm/llvm-project/commit/b54c95790b8a410b8eab1cbaae306cdc56a8e82a.diff

LOG: [Docs] Release 14 notes for SPIR-V in clang.

Differential Revision: https://reviews.llvm.org/D119713

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 899165b842b5..edabf0d974cd 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -47,6 +47,8 @@ sections with improvements to Clang's support for those languages.
 Major New Features
 ------------------
 
+- Added SPIR-V triple and binary generation using external ``llvm-spirv`` tool.
+  For more details refer to :ref:`the SPIR-V support section <spir-v>`.
 -  ...
 
 Improvements to Clang's diagnostics
@@ -324,6 +326,17 @@ Arm and AArch64 Support in Clang
 - The ``attribute((target("branch-protection=...)))`` attributes will now also
   work for the ARM backend.
 
+SPIR-V Support in Clang
+-----------------------
+
+- Added triple/target ``spirv32`` and ``spirv64`` for 32-bit and 64-bit SPIR-V
+  respectively.
+- Added generation of binaries via external ``llvm-spirv`` tool. This can now
+  be used for HIP or OpenCL.
+- Added linking of separate object files in SPIR-V format using external
+  ``spirv-link`` tool.
+
+
 Floating Point Support in Clang
 -------------------------------
 - The default setting of FP contraction (FMA) is now -ffp-contract=on (for


        


More information about the llvm-branch-commits mailing list