HomePhabricator

[PostOrderIterator] Use SmallVector to store stack; NFC

Authored by nikic on Mar 29 2020, 2:36 AM.

Description

[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.

Details

Committed
nikicMar 29 2020, 5:29 AM
Parents
rGa7115d51be09: [X86] X86CallFrameOptimization - generalize slow push code path
Branches
Unknown
Tags
Unknown