summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2016-08-26 16:34:27 +0000
committerBob Haarman <llvm@inglorion.net>2016-08-26 16:34:27 +0000
commit3db176410a195396bcca198fcfbc27a2b069b308 (patch)
tree3941fdd6d5537f95d13a31d156760f8ef688e373 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
parentd1e020f7eeca13787baa9f60d24248ca34c2ae4f (diff)
downloadbcm5719-llvm-3db176410a195396bcca198fcfbc27a2b069b308.tar.gz
bcm5719-llvm-3db176410a195396bcca198fcfbc27a2b069b308.zip
limit the number of instructions per block examined by dead store elimination
Summary: Dead store elimination gets very expensive when large numbers of instructions need to be analyzed. This patch limits the number of instructions analyzed per store to the value of the memdep-block-scan-limit parameter (which defaults to 100). This resulted in no observed difference in performance of the generated code, and no change in the statistics for the dead store elimination pass, but improved compilation time on some files by more than an order of magnitude. Reviewers: dexonsmith, bruno, george.burgess.iv, dberlin, reames, davidxl Subscribers: davide, chandlerc, dberlin, davidxl, eraman, tejohnson, mbodart, llvm-commits Differential Revision: https://reviews.llvm.org/D15537 llvm-svn: 279833
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud