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

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 11:38:10 PDT 2022


beanz created this revision.
beanz added reviewers: tstellar, aaron.ballman, MaskRay, hans.
Herald added subscribers: Anastasia, StephenFan.
Herald added a project: All.
beanz requested review of this revision.
Herald added projects: clang, LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127890

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


Index: llvm/docs/ReleaseNotes.rst
===================================================================
--- llvm/docs/ReleaseNotes.rst
+++ llvm/docs/ReleaseNotes.rst
@@ -110,6 +110,17 @@
 
 * ...
 
+Changes to the DirectX Backend
+------------------------------
+
+* An experimental DirectX backend has been introduced to the LLVM tree. It is
+  not packaged with any of the pre-built releases but can be built from source
+  by adding ``-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=DirectX`` to your build
+  configuration step.
+* 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
 ------------------------------
 
Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -68,6 +68,13 @@
 
       Randomizing structure layout is a C-only feature.
 
+- Clang is gaining support for HLSL. Basic features for the HLSL language have
+  started being merged during Clang-15 development, but the implementation is
+  incomplete and highly experimental. For more information about the ongoing
+  work to support HLSL see the `Clang documentation
+  <https://clang.llvm.org/docs/HLSLSupport.html>`_, or `GitHub project
+  <https://github.com/orgs/llvm/projects/4>`_.
+
 Bug Fixes
 ---------
 - ``CXXNewExpr::getArraySize()`` previously returned a ``llvm::Optional``


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127890.437271.patch
Type: text/x-patch
Size: 1513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220615/620fe0f6/attachment.bin>


More information about the cfe-commits mailing list