diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2017-06-20 07:07:09 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2017-06-20 07:07:09 +0000 |
commit | b5c33628733317a4a1dcd5f447127a439ae436f1 (patch) | |
tree | 05d07526fc4d2c03f4d0f782b428bf2f418b84eb /lldb/scripts/Python/python-wrapper.swig | |
parent | 104b6feb10801a57651bb01b553e289b065e6a9a (diff) | |
download | llvm-b5c33628733317a4a1dcd5f447127a439ae436f1.zip llvm-b5c33628733317a4a1dcd5f447127a439ae436f1.tar.gz llvm-b5c33628733317a4a1dcd5f447127a439ae436f1.tar.bz2 |
[SelectionDAG] Get rid of recursion in CalcNodeSethiUllmanNumber
The recursive implementation of CalcNodeSethiUllmanNumber may
overflow stack on extremely long pred chains. This patch replaces it
with an equivalent iterative implementation.
Differential Revision: https://reviews.llvm.org/D33769
llvm-svn: 305775
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions