[all-commits] [llvm/llvm-project] 067daa: [mlir][spirv] Unify resources of different vector ...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Jul 27 16:28:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 067daa56a9040f5e785aff4ebd299a6f57eb68c6
      https://github.com/llvm/llvm-project/commit/067daa56a9040f5e785aff4ebd299a6f57eb68c6
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp
    M mlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir

  Log Message:
  -----------
  [mlir][spirv] Unify resources of different vector sizes

This commit extends UnifyAliasedResourcePass to handle the case
where aliased resources have different vector sizes. (It still
requires all scalar types to be of the same bitwidth.) This is
effectively reusing the code for handling different-bitwidth
scalar types.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list