[llvm] [DirectX][docs] Architecture and design philosophy of DXIL support (PR #78221)

David Peixotto via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 08:50:29 PST 2024


================
@@ -0,0 +1,102 @@
+===============================================
+Architecture and Design of DXIL Support in LLVM
+===============================================
+
+.. contents::
+   :local:
+
+.. toctree::
+   :hidden:
+
+Introduction
+============
+
+LLVM supports reading and writing the `DirectX Intermediate Language.
+<https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst>`_,
+or DXIL. DXIL is essentially LLVM 3.7 era bitcode with some
+restrictions and various semantically important operations and
+metadata.
+
+LLVM's implementation philosophy for DXIL support is to treat DXIL as
+merely a representation format as much as possible. When reading DXIL,
+we should translate everyting to generic LLVM constructs when
----------------
dmpots wrote:

Typo "everyting"

https://github.com/llvm/llvm-project/pull/78221


More information about the llvm-commits mailing list