[all-commits] [llvm/llvm-project] bedaad: [mlir] Simplify std.alloc lowering to LLVM.

Christian Sigg via All-commits all-commits at lists.llvm.org
Tue Nov 17 09:55:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bedaad44953a99138bda0ee08ceeb5dfeec3c35c
      https://github.com/llvm/llvm-project/commit/bedaad44953a99138bda0ee08ceeb5dfeec3c35c
  Author: Christian Sigg <csigg at google.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
    M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir

  Log Message:
  -----------
  [mlir] Simplify std.alloc lowering to LLVM.

std.alloc only supports memrefs with identity layout, which means we can simplify the lowering to LLVM and compute strides only from (static and dynamic) sizes.

Reviewed By: ftynse

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




More information about the All-commits mailing list