[PATCH] D119713: [Docs] Release 14 notes for SPIR-V in clang

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 06:24:24 PST 2022


Anastasia created this revision.
Anastasia added reviewers: svenvh, linjamaki.
Herald added a subscriber: ebevhan.
Anastasia requested review of this revision.

Added important information about SPIR-V support in the upcoming release.


https://reviews.llvm.org/D119713

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -47,6 +47,8 @@
 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
@@ -345,6 +347,17 @@
 - 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119713.408396.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220214/ca34b7e4/attachment.bin>


More information about the cfe-commits mailing list