[all-commits] [llvm/llvm-project] d57507: [NFC][MachineOutliner] Rewrite setSuffixIndices to...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Fri Dec 20 16:18:23 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d5750770eb96d6854c11726118d3215443d70643
https://github.com/llvm/llvm-project/commit/d5750770eb96d6854c11726118d3215443d70643
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2019-12-20 (Fri, 20 Dec 2019)
Changed paths:
M llvm/lib/CodeGen/MachineOutliner.cpp
Log Message:
-----------
[NFC][MachineOutliner] Rewrite setSuffixIndices to be iterative
Having this function be recursive could use up way too much stack space.
Rewrite it as an iterative traversal in the tree instead to prevent this.
Fixes PR44344.
More information about the All-commits
mailing list