Skip to content

[mlir][spirv] Add missing folding for scalar/vector SPIR-V ops #70704

@inbelic

Description

@inbelic

It has been noted that we are missing the fold definitions for various basic scalar/vector SPIR-V ops. As a result, many of these operations are not folded away in the IR and it is required to use other tools to do so, eg: spirv-opt. We are motivated to do so as it would allow for the IR to be more readable, particularly when we have transformed/lowered from another dialect into SPIR-V and are generating new operations that have the potential to be folded away.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions