From 8b4a7308643eb22c51be461b917a47a0393194b1 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 30 Sep 2025 09:04:48 -0700 Subject: [PATCH] [llvm] Proofread DirectXUsage.rst --- llvm/docs/DirectXUsage.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/docs/DirectXUsage.rst b/llvm/docs/DirectXUsage.rst index 1d964e6d54dae..78f27d89c1f8a 100644 --- a/llvm/docs/DirectXUsage.rst +++ b/llvm/docs/DirectXUsage.rst @@ -29,7 +29,7 @@ Initially the backend is aimed at supporting DirectX 12, and support for DirectX 11 is planned at a later date. The DirectX backend is currently experimental and is not shipped with any -release builds of LLVM tools. To enable building the DirectX backend locally add +release builds of LLVM tools. To build the DirectX backend locally, add ``DirectX`` to the ``LLVM_EXPERIMENTAL_TARGETS_TO_BUILD`` CMake option. For more information on building LLVM see the :doc:`CMake` documentation. @@ -38,7 +38,7 @@ information on building LLVM see the :doc:`CMake` documentation. Target Triples ============== -At present the DirectX target only supports the ``dxil`` architecture, which +At present, the DirectX target only supports the ``dxil`` architecture, which generates code for the `DirectX Intermediate Language. `_ @@ -46,8 +46,8 @@ In addition to target architecture, the DirectX backend also needs to know the target runtime version and pipeline stage. These are expressed using the OS and Environment triple component. -Presently the DirectX backend requires targeting the ``shadermodel`` OS, and -supports versions 6.0+ (at time of writing the latest announced version is 6.7). +Presently, the DirectX backend requires targeting the ``shadermodel`` OS, and +supports versions 6.0+ (as of writing, the latest announced version is 6.7). .. table:: DirectX Environments