[all-commits] [llvm/llvm-project] 50f0ee: [PostOrderIterator] Store end iterator (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 22 06:50:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50f0ee8fbfc1f597ae7d2d49e0996c4338e5652f
      https://github.com/llvm/llvm-project/commit/50f0ee8fbfc1f597ae7d2d49e0996c4338e5652f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

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

  Log Message:
  -----------
  [PostOrderIterator] Store end iterator (NFC)

Store the end iterator on the VisitStack, instead of recomputing
it every time, as doing so is not free.




More information about the All-commits mailing list