[all-commits] [llvm/llvm-project] 405d6c: [mlir] Add pattern to handle trivial shape_cast in...

Jerry Wu via All-commits all-commits at lists.llvm.org
Mon Jun 26 16:11:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 405d6cada4286bf58c2a2ee6858108a34e623b97
      https://github.com/llvm/llvm-project/commit/405d6cada4286bf58c2a2ee6858108a34e623b97
  Author: Jerry Wu <cheyuw at google.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir

  Log Message:
  -----------
  [mlir] Add pattern to handle trivial shape_cast in SPIR-V

Handle the trivial case of size-1 vector.shape_cast.

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




More information about the All-commits mailing list