[all-commits] [llvm/llvm-project] 2c4605: [mlir][spirv] Fix vector type mismatch in UnifyAli...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Feb 1 12:26:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c46051aa9d30dc1740f2183ceb45a235b994cc3
      https://github.com/llvm/llvm-project/commit/2c46051aa9d30dc1740f2183ceb45a235b994cc3
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

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

  Log Message:
  -----------
  [mlir][spirv] Fix vector type mismatch in UnifyAliasedResourcePass

For the cases where we have aliases of `vector<4xf16>` and
`vector<4xf32>`, we need to do casting before composite
construction.

Reviewed By: kuhar

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




More information about the All-commits mailing list