Skip to content

Commit 40ae74d

Browse files
badervmaksimo
authored andcommitted
Update links to external documents.
Fix a typo in LLVM IR example.
1 parent 8fd1d77 commit 40ae74d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm-spirv/docs/SPIRVRepresentationInLLVM.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Overview
88
========
99

1010
As one of the goals of SPIR-V is to `"map easily to other IRs, including LLVM
11-
IR" <https://cvs.khronos.org/svn/repos/SPIRV/trunk/specs/SPIRV.html#_goals>`_,
11+
IR" <https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#_goals>`_,
1212
most of SPIR-V entities (global variables, constants, types, functions, basic
1313
blocks, instructions) have straightforward counterparts in LLVM. Therefore the
1414
focus of this document is those entities in SPIR-V which do not map to LLVM in
@@ -81,7 +81,7 @@ Some SPIR-V instructions which can be included in basic blocks do not have
8181
corresponding LLVM instructions or intrinsics. These SPIR-V instructions are
8282
represented by function calls in LLVM. The function corresponding to a SPIR-V
8383
instruction is termed SPIR-V builtin function and its name is `IA64 mangled
84-
<https://mentorembedded.github.io/cxx-abi/abi.html#mangling>`_ with extensions
84+
<https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling>`_ with extensions
8585
for SPIR-V specific types. The unmangled name of a SPIR-V builtin function
8686
follows the convention
8787

@@ -209,7 +209,7 @@ following format:
209209

210210
.. code-block:: llvm
211211
212-
!spirv.<OpCodeName> = !{!<InstructionMetadata1>, <InstructionMetadata2>, ..}
212+
!spirv.<OpCodeName> = !{!<InstructionMetadata1>, !<InstructionMetadata2>, ..}
213213
!<InstructionMetadata1> = !{<Operand1>, <Operand2>, ..}
214214
!<InstructionMetadata2> = !{<Operand1>, <Operand2>, ..}
215215

0 commit comments

Comments
 (0)