[all-commits] [llvm/llvm-project] e4889c: [mlir][spirv] Change translation to use spirv.module

rk via All-commits all-commits at lists.llvm.org
Tue Nov 8 11:47:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4889c0a046e251bfaf27a637df606112659be89
      https://github.com/llvm/llvm-project/commit/e4889c0a046e251bfaf27a637df606112659be89
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M mlir/lib/Target/SPIRV/TranslateRegistration.cpp
    M mlir/test/Target/SPIRV/arithmetic-ops.mlir
    M mlir/test/Target/SPIRV/array.mlir
    M mlir/test/Target/SPIRV/atomic-ops.mlir
    M mlir/test/Target/SPIRV/barrier-ops.mlir
    M mlir/test/Target/SPIRV/bit-ops.mlir
    M mlir/test/Target/SPIRV/cast-ops.mlir
    M mlir/test/Target/SPIRV/composite-op.mlir
    M mlir/test/Target/SPIRV/constant.mlir
    M mlir/test/Target/SPIRV/cooperative-matrix-ops.mlir
    M mlir/test/Target/SPIRV/debug.mlir
    M mlir/test/Target/SPIRV/decorations.mlir
    M mlir/test/Target/SPIRV/entry-point.mlir
    M mlir/test/Target/SPIRV/execution-mode.mlir
    M mlir/test/Target/SPIRV/function-call.mlir
    M mlir/test/Target/SPIRV/gl-ops.mlir
    M mlir/test/Target/SPIRV/global-variable.mlir
    M mlir/test/Target/SPIRV/group-ops.mlir
    M mlir/test/Target/SPIRV/image-ops.mlir
    M mlir/test/Target/SPIRV/image.mlir
    M mlir/test/Target/SPIRV/invalid-module.mlir
    M mlir/test/Target/SPIRV/joint-matrix-ops.mlir
    M mlir/test/Target/SPIRV/logical-ops.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/module.mlir
    M mlir/test/Target/SPIRV/non-uniform-ops.mlir
    M mlir/test/Target/SPIRV/ocl-ops.mlir
    M mlir/test/Target/SPIRV/phi.mlir
    M mlir/test/Target/SPIRV/sampled-image.mlir
    M mlir/test/Target/SPIRV/selection.mlir
    M mlir/test/Target/SPIRV/spec-constant.mlir
    M mlir/test/Target/SPIRV/struct.mlir
    M mlir/test/Target/SPIRV/terminator.mlir
    M mlir/test/Target/SPIRV/undef.mlir

  Log Message:
  -----------
  [mlir][spirv] Change translation to use spirv.module

Update the SPIRV `mlir-translate` translations to translate to/from
`spirv.module` instead of `builtin.module`. This simplifies the
translation since the code no longer needs to walk the module looking
for a SPIRV module, however it requires passing `-no-implicit-module` to
all the tests.

Reviewed By: antiagainst

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




More information about the All-commits mailing list