The recursive implementation of findNonImmUse may overflow stack
on extremely long use chains. This patch replaces it with an equivalent
iterative implementation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D33775
[SelectionDAG] Get rid of recursion in findNonImmUse ClosedPublic Authored by mkazantsev on Jun 1 2017, 5:47 AM.
Details Summary The recursive implementation of findNonImmUse may overflow stack
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 1 2017, 9:37 PM Closed by commit rL304522: [SelectionDAG] Get rid of recursion in findNonImmUse (authored by mkazantsev). · Explain WhyJun 2 2017, 12:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 101170 llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
|