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.