[all-commits] [llvm/llvm-project] 63e8c0: [mlir] Fix liveness analysis for block arguments (...

Ivan Kulagin via All-commits all-commits at lists.llvm.org
Thu May 23 15:10:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63e8c0a0e48939371652f907bb868d74869ae00a
      https://github.com/llvm/llvm-project/commit/63e8c0a0e48939371652f907bb868d74869ae00a
  Author: Ivan Kulagin <ivan.i.kulagin at gmail.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M mlir/lib/Analysis/Liveness.cpp
    M mlir/test/Analysis/test-liveness.mlir

  Log Message:
  -----------
  [mlir] Fix liveness analysis for block arguments (#88848)

The current implementation does not take into account definitions
created by arguments of nested blocks. This leads to an incorrect
construction of the live-in set of an outer block. Arguments of nested
blocks are added to the live-in set of an outer block.

---------

Signed-off-by: ikulagin <i.kulagin at ispras.ru>
Co-authored-by: ikulagin <i.kulagin at ispras.ru>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list