aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-04-23 08:52:21 +0000
committerDavid Green <david.green@arm.com>2019-04-23 08:52:21 +0000
commit63a2aa715ad00e52ed1a7695f5a40d984fdaec24 (patch)
tree4497f8cf258ee2dcc3fb7e7b78b22562b246bd96 /lldb/scripts/Python/modify-python-lldb.py
parented4f48d290e342657798437538c8aa8e1ef35c72 (diff)
downloadllvm-63a2aa715ad00e52ed1a7695f5a40d984fdaec24.zip
llvm-63a2aa715ad00e52ed1a7695f5a40d984fdaec24.tar.gz
llvm-63a2aa715ad00e52ed1a7695f5a40d984fdaec24.tar.bz2
[LSR] Limit the recursion for setup cost
In some circumstances we can end up with setup costs that are very complex to compute, even though the scevs are not very complex to create. This can also lead to setupcosts that are calculated to be exactly -1, which LSR treats as an invalid cost. This patch puts a limit on the recursion depth for setup cost to prevent them taking too long. Thanks to @reames for the report and test case. Differential Revision: https://reviews.llvm.org/D60944 llvm-svn: 358958
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions