[all-commits] [llvm/llvm-project] 4a7711: [mlir][bufferize] Fix buffer promotion to stack fo...

Stephan Herhut via All-commits all-commits at lists.llvm.org
Fri Nov 13 00:30:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a771108ac5ceeae6119185ae52ab6f5e6af2da1
      https://github.com/llvm/llvm-project/commit/4a771108ac5ceeae6119185ae52ab6f5e6af2da1
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/lib/Transforms/BufferOptimizations.cpp
    M mlir/test/Transforms/promote-buffers-to-stack.mlir

  Log Message:
  -----------
  [mlir][bufferize] Fix buffer promotion to stack for index types

The index type does not have a bitsize and hence the size of corresponding allocations cannot be computed.  Instead, the promotion pass now has an explicit option to specify the size of index.

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




More information about the All-commits mailing list