[all-commits] [llvm/llvm-project] 6ba635: [PostOrderIterator] Use SmallVector to store stack...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Mar 29 05:29:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ba63510720f5bd6033a3eeffd51f8d7e0e90432
      https://github.com/llvm/llvm-project/commit/6ba63510720f5bd6033a3eeffd51f8d7e0e90432
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-29 (Sun, 29 Mar 2020)

  Changed paths:
    M llvm/include/llvm/ADT/PostOrderIterator.h

  Log Message:
  -----------
  [PostOrderIterator] Use SmallVector to store stack; NFC

We use a SmallPtrSet to track visited nodes, use a SmallVector
of the same size for the stack.




More information about the All-commits mailing list