Skip to content

[mlir][spirv] Disable wide bitwidth emulation in SPIR-V type converter #57917

@antiagainst

Description

@antiagainst

SPIR-V type converter will try to emulate bitwidths not supported by the target environment if emulateNon32BitScalarTypes is true, this includes both smaller bitwidths and larger ones. For smaller ones it's fine, but for larger ones the logic is just plainly truncate and that's problematic. Now with @kuhar's work on wide bitwidth emulation we should disable emulating larger bitwidths in SPIR-V type converter and fix/add tests. To be clear, we should also rename the option to emulateLT32BitScalarTypes or something.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions