[all-commits] [llvm/llvm-project] cfad8b: [DomTree] Remove unnecessary check (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 22 02:41:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfad8bf5098c051924040703ac3c6c2e65b21f6a
      https://github.com/llvm/llvm-project/commit/cfad8bf5098c051924040703ac3c6c2e65b21f6a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-22 (Wed, 22 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h

  Log Message:
  -----------
  [DomTree] Remove unnecessary check (NFC)

ReverseChildren is populated during runDFS() with reachable nodes
only. This check dates back to a time when this code used
inverse_children<> directly, which could indeed contain unreachable
nodes.




More information about the All-commits mailing list