[clang] ee0dd2e - [Docs] Update clang & llvm release notes for HLSL

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 10:41:29 PDT 2022


Author: Chris Bieneman
Date: 2022-06-27T12:41:14-05:00
New Revision: ee0dd2ec112b3fa727f199709a0d8992eaa13b3b

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

LOG: [Docs] Update clang & llvm release notes for HLSL

Adding release note entries for LLVM & Clang to introduce the HLSL &
DirectX support that is being added.

Reviewed By: aaron.ballman, MaskRay

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

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst
    llvm/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index f551a6fecd778..efc91ca29d1aa 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -72,6 +72,11 @@ Major New Features
   array bounds lead to flexible array members. The option yields more accurate
   ``__builtin_object_size`` and ``__builtin_dynamic_object_size`` results in
   most cases but may be overly conservative for some legacy code.
+- Experimental support for HLSL has been added. The implementation is
+  incomplete and highly experimental. For more information about the ongoing
+  work to support HLSL see the `documentation
+  <https://clang.llvm.org/docs/HLSLSupport.html>`_, or the `GitHub project
+  <https://github.com/orgs/llvm/projects/4>`_.
 
 Bug Fixes
 ---------

diff  --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 85ad07113c886..1e9dc99b90742 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -113,6 +113,16 @@ Changes to the AVR Backend
 
 * ...
 
+Changes to the DirectX Backend
+------------------------------
+
+* DirectX has been added as an experimental target. Specify
+  ``-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=DirectX`` in your CMake configuration
+  to enable it. The target is not packaged in pre-built binaries.
+* The DirectX backend supports the ``dxil`` architecture which is based on LLVM
+  3.6 IR encoded as bitcode and is the format used for DirectX GPU Shader
+  programs.
+
 Changes to the Hexagon Backend
 ------------------------------
 


        


More information about the cfe-commits mailing list