[all-commits] [llvm/llvm-project] 43f34f: Added check if there are regions that do not imple...

dfki-jugr via All-commits all-commits at lists.llvm.org
Wed Jan 20 03:23:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43f34f58349ae178fd1c95d6a73c6858f35f2ea1
      https://github.com/llvm/llvm-project/commit/43f34f58349ae178fd1c95d6a73c6858f35f2ea1
  Author: Julian Gross <julian.gross at dfki.de>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M mlir/lib/Transforms/BufferDeallocation.cpp
    M mlir/test/Transforms/buffer-deallocation.mlir

  Log Message:
  -----------
  Added check if there are regions that do not implement the RegionBranchOpInterface.

Add a check if regions do not implement the RegionBranchOpInterface. This is not
allowed in the current deallocation steps. Furthermore, we handle edge-cases,
where a single region is attached and the parent operation has no results.

This fixes: https://bugs.llvm.org/show_bug.cgi?id=48575

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




More information about the All-commits mailing list