[all-commits] [llvm/llvm-project] 4bd25d: [mlir][spirv] Refresh base definitions to latest s...

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Aug 8 09:23:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bd25d0b81d1687d7f4be4c170e748277856f33c
      https://github.com/llvm/llvm-project/commit/4bd25d0b81d1687d7f4be4c170e748277856f33c
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
    M mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
    M mlir/test/Dialect/SPIRV/IR/availability.mlir
    M mlir/utils/spirv/gen_spirv_dialect.py
    A mlir/utils/spirv/refresh_inst.sh

  Log Message:
  -----------
  [mlir][spirv] Refresh base definitions to latest spec (v1.6)

This commit updates all SPIR-V enum definitions to match the latest
specification (v1.6 revision 2). Along the way, fixed some issues
in `gen_spirv_dialect.py` and added a new script for refreshing
all op definitions for such cases.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131293




More information about the All-commits mailing list