[all-commits] [llvm/llvm-project] 1555d7: [mlir] subview op lowering for target memrefs with...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Feb 10 08:35:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1555d7f729089382520b93634cc24e600fcd21ae
      https://github.com/llvm/llvm-project/commit/1555d7f729089382520b93634cc24e600fcd21ae
  Author: Tobias Gysi <tobias.gysi at inf.ethz.ch>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir

  Log Message:
  -----------
  [mlir] subview op lowering for target memrefs with const offset

The current standard to llvm conversion pass lowers subview ops only if
dynamic offsets are provided. This commit extends the lowering with a
code path that uses the constant offset of the target memref for the
subview op lowering (see Example 3 of the subview op definition for an
example) if no dynamic offsets are provided.

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




More information about the All-commits mailing list