[all-commits] [llvm/llvm-project] 7023f4: [MLIR] Introduce std.alloca op

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Tue Apr 7 03:15:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7023f4b4cb0157d95d98f32ace247acd9fc7b80a
      https://github.com/llvm/llvm-project/commit/7023f4b4cb0157d95d98f32ace247acd9fc7b80a
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
    M mlir/test/IR/memory-ops.mlir
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [MLIR] Introduce std.alloca op

Introduce the alloca op for stack memory allocation. When converting to the
LLVM dialect, this is lowered to an llvm.alloca. Refactor the std to
llvm conversion for alloc op to reuse with alloca. Drop useAlloca option
with alloc op lowering.

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




More information about the All-commits mailing list