You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spec can be found here intel/llvm#15225
TODO for future patches:
- During spec review need to decide whether only FunctionCall or Atomic
instructions can be decorated and if not - move the code around adding
handling for other instructions;
- Handle optional string metadata;
- Handle LLVM atomic instructions;
- Handle SPIR-V friendly atomic calls returning via sret argument.
Signed-off-by: Sidorov, Dmitry <[email protected]>
Copy file name to clipboardExpand all lines: llvm/docs/SPIRVUsage.rst
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,8 @@ list of supported SPIR-V extensions, sorted alphabetically by their extension na
173
173
- Adds decorations that can be applied to global (module scope) variables to help code generation for FPGA devices.
174
174
* - ``SPV_INTEL_media_block_io``
175
175
- Adds additional subgroup block read and write functionality that allow applications to flexibly specify the width and height of the block to read from or write to a 2D image.
176
+
* - ``SPV_INTEL_memory_access_aliasing``
177
+
- Adds instructions and decorations to specify memory access aliasing, similar to alias.scope and noalias LLVM metadata.
176
178
* - ``SPV_INTEL_optnone``
177
179
- Adds OptNoneINTEL value for Function Control mask that indicates a request to not optimize the function.
178
180
* - ``SPV_INTEL_split_barrier``
@@ -301,6 +303,10 @@ SPIR-V backend, along with their descriptions and argument details.
301
303
- None
302
304
- `[Type, Metadata]`
303
305
- Assigns decoration to values by associating them with metadatas. Not emitted directly but used to support SPIR-V representation in LLVM IR.
306
+
* - `int_spv_assign_aliasing_decoration`
307
+
- None
308
+
- `[Type, 32-bit Integer, Metadata]`
309
+
- Assigns one of two memory aliasing decorations (specified by the second argument) to instructions using original aliasing metadata node. Not emitted directly but used to support SPIR-V representation in LLVM IR.
0 commit comments