[all-commits] [llvm/llvm-project] bdf00e: [mlir][spirv] Use assemblyFormat to define AccessC...

Yadong Chen via All-commits all-commits at lists.llvm.org
Tue Nov 19 06:16:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdf00e2216280edef1ec91ccc07987db92197b59
      https://github.com/llvm/llvm-project/commit/bdf00e2216280edef1ec91ccc07987db92197b59
  Author: Yadong Chen <cyd.matt at qq.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
    M mlir/lib/Dialect/SPIRV/IR/MemoryOps.cpp
    M mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
    M mlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
    M mlir/test/Dialect/SPIRV/IR/memory-ops.mlir
    M mlir/test/Dialect/SPIRV/IR/structure-ops.mlir
    M mlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
    M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
    M mlir/test/Dialect/SPIRV/Transforms/inlining.mlir
    M mlir/test/Dialect/SPIRV/Transforms/layout-decoration.mlir
    M mlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir
    M mlir/test/Target/SPIRV/array-two-step-roundtrip.mlir
    M mlir/test/Target/SPIRV/array.mlir
    M mlir/test/Target/SPIRV/debug.mlir
    M mlir/test/Target/SPIRV/global-variable.mlir
    M mlir/test/Target/SPIRV/loop.mlir
    M mlir/test/Target/SPIRV/matrix.mlir
    M mlir/test/Target/SPIRV/memory-ops.mlir
    M mlir/test/Target/SPIRV/physical-storage-buffer.mlir
    M mlir/test/Target/SPIRV/undef.mlir

  Log Message:
  -----------
  [mlir][spirv] Use assemblyFormat to define AccessChainOp assembly (#116545)

see #73359

Declarative assemblyFormat ODS is more concise and requires less
boilerplate than filling out cpp interfaces.

Changes:
- updates the AccessChainOp defined in SPIRVMemoryOps.td to use
assemblyFormat.
- Removes part print/parse from MemoryOps.cpp which is now generated by
assemblyFormat
- Updates tests to updated format



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list