llvm/llvm-project

[mlir][spirv] Update the spirv dialect scripts to accept the updated spirv json schema

Open

#110,016 opened on Sep 25, 2024

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (10,782 forks)batch import
help wantedmlir:spirv

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (Avg merge 1d 2h) (1,000 merged PRs in 30d)

Description

The SPIR-V dialect has scripts to define SPIR-V ops/enums/attributes based on the SPIR-V spec in the json format: https://github.com/llvm/llvm-project/tree/main/mlir/utils/spirv .

The json schema was recently updated: https://github.com/KhronosGroup/SPIRV-Headers/pull/447. We should update the scripts to accept the new json format.

Contributor guide