[all-commits] [llvm/llvm-project] 03cb1d: [mlir] `remove-dead-values`: properly handle symbo...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Mon Sep 28 10:35:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03cb1db40787ab170cd2e4588840fe8b5ecf8fcf
      https://github.com/llvm/llvm-project/commit/03cb1db40787ab170cd2e4588840fe8b5ecf8fcf
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M mlir/include/mlir/IR/SymbolTable.h
    M mlir/lib/IR/SymbolTable.cpp
    M mlir/lib/Transforms/RemoveDeadValues.cpp
    A mlir/test/Transforms/remove-dead-values-symbol-scope.mlir
    M mlir/unittests/IR/SymbolTableTest.cpp

  Log Message:
  -----------
  [mlir] `remove-dead-values`: properly handle symbol users outside of a pass root. (#225355)

Follow up to the
https://github.com/llvm/llvm-project/pull/224831#pullrequestreview-5262450200
comment.

Add `areAllUsesVisible` query to the `SymbolUserMap` to check is all
users are visible and use it in `remove-dead-values`.



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