<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/Target/SPIRV/Serialization/Serializer.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[mlir][spirv] Add support for SwitchOp (#168713)</title>
<updated>2025-11-20T15:19:10+00:00</updated>
<author>
<name>Igor Wodiany</name>
<email>igor.wodiany@imgtec.com</email>
</author>
<published>2025-11-20T15:19:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=891b3cf63e160c83309b90728034ab832184c964'/>
<id>891b3cf63e160c83309b90728034ab832184c964</id>
<content type='text'>
The dialect implementation mostly copies the one of `cf.switch`, but
aligns naming to the SPIR-V spec.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dialect implementation mostly copies the one of `cf.switch`, but
aligns naming to the SPIR-V spec.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Ensure function declarations precede definitions (#164956)</title>
<updated>2025-10-27T09:28:50+00:00</updated>
<author>
<name>Igor Wodiany</name>
<email>igor.wodiany@imgtec.com</email>
</author>
<published>2025-10-27T09:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=046ed90d3f5189357bcce4cff43ad7739ae72b07'/>
<id>046ed90d3f5189357bcce4cff43ad7739ae72b07</id>
<content type='text'>
SPIR-V spec requires that any calls to external functions are preceded
by declarations of those external functions. To simplify the
implementation, we sort functions in the serializer using a stronger
condition: any functions declarations are moved before any functions
definitions - this ensures that external functions are always declared
before being used.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPIR-V spec requires that any calls to external functions are preceded
by declarations of those external functions. To simplify the
implementation, we sort functions in the serializer using a stronger
condition: any functions declarations are moved before any functions
definitions - this ensures that external functions are always declared
before being used.</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Serializer.cpp (NFC)</title>
<updated>2025-10-23T20:26:23+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2025-08-21T18:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eaedab226cfcf99b92fbfc91b502096a11b45de8'/>
<id>eaedab226cfcf99b92fbfc91b502096a11b45de8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Add support for SPV_ARM_graph extension - part 2 (#156665)</title>
<updated>2025-09-12T13:51:35+00:00</updated>
<author>
<name>Davide Grohmann</name>
<email>davide.grohmann@arm.com</email>
</author>
<published>2025-09-12T13:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1a746b6ca3862165360c48fff5d807d5b400b541'/>
<id>1a746b6ca3862165360c48fff5d807d5b400b541</id>
<content type='text'>
This is the second patch to add support for the `SPV_ARM_graph` SPIR-V
extension to MLIR’s SPIR-V dialect. The extension introduces a new
`Graph` abstraction for expressing dataflow computations over full
resources.

The part 2 implementation includes:

- Serialization and deserialization support for:
- `OpGraphARM`, `OpGraphInputARM`, `OpGraphSetOutputARM`,
`OpGraphEndARM`
  - `OpGraphEntryPointARM`, `OpGraphConstantARM`, `OpTypeGraphARM`
- Tests covering binary round-tripping.

Graphs currently support only `SPV_ARM_tensors`, but are designed to
generalize to other resource types, such as images.

Spec: https://github.com/KhronosGroup/SPIRV-Registry/pull/346
RFC:
https://discourse.llvm.org/t/rfc-add-support-for-spv-arm-graph-extension-in-mlir-spir-v-dialect/86947

---------

Signed-off-by: Davide Grohmann &lt;davide.grohmann@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the second patch to add support for the `SPV_ARM_graph` SPIR-V
extension to MLIR’s SPIR-V dialect. The extension introduces a new
`Graph` abstraction for expressing dataflow computations over full
resources.

The part 2 implementation includes:

- Serialization and deserialization support for:
- `OpGraphARM`, `OpGraphInputARM`, `OpGraphSetOutputARM`,
`OpGraphEndARM`
  - `OpGraphEntryPointARM`, `OpGraphConstantARM`, `OpTypeGraphARM`
- Tests covering binary round-tripping.

Graphs currently support only `SPV_ARM_tensors`, but are designed to
generalize to other resource types, such as images.

Spec: https://github.com/KhronosGroup/SPIRV-Registry/pull/346
RFC:
https://discourse.llvm.org/t/rfc-add-support-for-spv-arm-graph-extension-in-mlir-spir-v-dialect/86947

---------

Signed-off-by: Davide Grohmann &lt;davide.grohmann@arm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Conditionally add SPV_KHR_non_semantic_info extension u… (#152686)</title>
<updated>2025-08-13T15:33:10+00:00</updated>
<author>
<name>Mohammadreza Ameri Mahabadian</name>
<email>mohammadreza.amerimahabadian@arm.com</email>
</author>
<published>2025-08-13T15:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=187f2967df14150d53cc7d9437bf75c195a62ab1'/>
<id>187f2967df14150d53cc7d9437bf75c195a62ab1</id>
<content type='text'>
…pon serialization

If serialization option `emitDebugInfo` is enabled, then it is required
to serialize `SPV_KHR_non_semantic_info` extension provided that it is
available in the target environment.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…pon serialization

If serialization option `emitDebugInfo` is enabled, then it is required
to serialize `SPV_KHR_non_semantic_info` extension provided that it is
available in the target environment.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Fix serialization of TensorARM with rank higher than one (#152391)</title>
<updated>2025-08-08T17:20:28+00:00</updated>
<author>
<name>Mohammadreza Ameri Mahabadian</name>
<email>mohammadreza.amerimahabadian@arm.com</email>
</author>
<published>2025-08-08T17:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=688551f05cf5f6c90e0f5edc890ee13bb563fa95'/>
<id>688551f05cf5f6c90e0f5edc890ee13bb563fa95</id>
<content type='text'>
This PR fixes #152012 where serialization of TensorARM values into
OpConstantComposite resulted in invalid binary.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR fixes #152012 where serialization of TensorARM values into
OpConstantComposite resulted in invalid binary.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Add support for Invariant and Patch decorations (#152301)</title>
<updated>2025-08-06T13:40:03+00:00</updated>
<author>
<name>Igor Wodiany</name>
<email>igor.wodiany@imgtec.com</email>
</author>
<published>2025-08-06T13:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fa91dcbefd7d9f16b2c6d624b14a1c023745b78a'/>
<id>fa91dcbefd7d9f16b2c6d624b14a1c023745b78a</id>
<content type='text'>
New tests were validated with `spriv-val`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New tests were validated with `spriv-val`.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Fix verification and serialization replicated constant … (#151168)</title>
<updated>2025-08-01T17:02:19+00:00</updated>
<author>
<name>Mohammadreza Ameri Mahabadian</name>
<email>mohammadreza.amerimahabadian@arm.com</email>
</author>
<published>2025-08-01T17:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6c072c06cc59b56f83014450afe82f03666407ad'/>
<id>6c072c06cc59b56f83014450afe82f03666407ad</id>
<content type='text'>
…composites of multi-dimensional array

This fixes a bug in verification and serialization of replicated
constant composite ops where the splat value can potentially be a
multi-dimensional array.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…composites of multi-dimensional array

This fixes a bug in verification and serialization of replicated
constant composite ops where the splat value can potentially be a
multi-dimensional array.

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Enable (de)serialization of TensorARM to/from OpConstan… (#151485)</title>
<updated>2025-08-01T12:21:11+00:00</updated>
<author>
<name>Mohammadreza Ameri Mahabadian</name>
<email>mohammadreza.amerimahabadian@arm.com</email>
</author>
<published>2025-08-01T12:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=48ea3e425bb97b73a2c3117fdcd55fe96314ab1c'/>
<id>48ea3e425bb97b73a2c3117fdcd55fe96314ab1c</id>
<content type='text'>
…tNull

This patch enables (de)serialization to/from OpConstantNull for null
TensorARM

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…tNull

This patch enables (de)serialization to/from OpConstantNull for null
TensorARM

---------

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][spirv] Fix serialization of multi-dimensional TensorArm constant (#151158)</title>
<updated>2025-07-30T16:56:51+00:00</updated>
<author>
<name>Mohammadreza Ameri Mahabadian</name>
<email>mohammadreza.amerimahabadian@arm.com</email>
</author>
<published>2025-07-30T16:56:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c1968fee972859dfd03a7e698422e18a5bc1d478'/>
<id>c1968fee972859dfd03a7e698422e18a5bc1d478</id>
<content type='text'>
This fixes an issue where multi-dimensional TensorArm dense elements
could not be serialized.

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an issue where multi-dimensional TensorArm dense elements
could not be serialized.

Signed-off-by: Mohammadreza Ameri Mahabadian &lt;mohammadreza.amerimahabadian@arm.com&gt;</pre>
</div>
</content>
</entry>
</feed>
