Skip to content

Commit 28c8da4

Browse files
committed
Document llvm-spirv-<LLVM-version-major>
1 parent 1360926 commit 28c8da4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/docs/UsersManual.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4430,9 +4430,9 @@ To generate SPIR-V binaries, Clang uses the external ``llvm-spirv`` tool from th
44304430
Prior to the generation of SPIR-V binary with Clang, ``llvm-spirv``
44314431
should be built or installed. Please refer to `the following instructions
44324432
<https://github.com/KhronosGroup/SPIRV-LLVM-Translator#build-instructions>`_
4433-
for more details. Clang will expect the ``llvm-spirv`` executable to
4434-
be present in the ``PATH`` environment variable. Clang uses ``llvm-spirv``
4435-
with `the widely adopted assembly syntax package
4433+
for more details. Clang will look for ``llvm-spirv-<LLVM-major-version>`` and
4434+
``llvm-spirv`` executables, in this order, in the ``PATH`` environment variable.
4435+
Clang uses ``llvm-spirv`` with `the widely adopted assembly syntax package
44364436
<https://github.com/KhronosGroup/SPIRV-LLVM-Translator/#build-with-spirv-tools>`_.
44374437

44384438
`The versioning

0 commit comments

Comments
 (0)