[all-commits] [llvm/llvm-project] ff81cc: [mlir][spirv] Improve vector extract/insert elemen...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Nov 30 16:41:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff81cc824f2867e8b9f8504549fb2592faea4567
      https://github.com/llvm/llvm-project/commit/ff81cc824f2867e8b9f8504549fb2592faea4567
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

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

  Log Message:
  -----------
  [mlir][spirv] Improve vector extract/insert element conversion

* Fix type conversions around positions--we need to use the
  converted value from the adaptor.
* Convert constant position cases to composite extract/insert.

Reviewed By: kuhar

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




More information about the All-commits mailing list