[all-commits] [llvm/llvm-project] 996834: [mlir][SCF] Fix scf.while bufferization

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue May 17 15:38:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 996834e6813ab5481a58e42e7a11f57d243a3a99
      https://github.com/llvm/llvm-project/commit/996834e6813ab5481a58e42e7a11f57d243a3a99
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/SCF/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][SCF] Fix scf.while bufferization

Before this fix, the bufferization implementation made the incorrect assumption that the values yielded from the "before" region must match with the values yielded from the "after" region.

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




More information about the All-commits mailing list