[all-commits] [llvm/llvm-project] 3c3810: [mlir][vector] Avoid hoisting alloca'ed temporary ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Feb 2 03:00:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c3810e72e8b5d324be3c3de6faf177144653408
      https://github.com/llvm/llvm-project/commit/3c3810e72e8b5d324be3c3de6faf177144653408
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferSplitRewritePatterns.cpp
    M mlir/test/Conversion/VectorToSCF/vector-to-scf.mlir
    M mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir

  Log Message:
  -----------
  [mlir][vector] Avoid hoisting alloca'ed temporary buffers across AutomaticAllocationScope

This revision avoids incorrect hoisting of alloca'd buffers across an AutomaticAllocationScope boundary.
In the more general case, we will probably need a ParallelScope-like interface.

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




More information about the All-commits mailing list