[all-commits] [llvm/llvm-project] 670455: [mlir][spirv] Legalize subviewop when used with ve...

Thomas via All-commits all-commits at lists.llvm.org
Fri Jun 19 17:46:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 670455c77d4b2ee3bcf90fb454f62ae69ec47239
      https://github.com/llvm/llvm-project/commit/670455c77d4b2ee3bcf90fb454f62ae69ec47239
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
    M mlir/test/Conversion/StandardToSPIRV/legalization.mlir

  Log Message:
  -----------
  [mlir][spirv] Legalize subviewop when used with vector transfer

Subview operations are not natively supported downstream in the spirv path.
This change allows removing subview when used by vector transfer the same way
we already do it when they are used by LoadOp/StoreOp

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




More information about the All-commits mailing list