diff options
author | Roman Gareev <gareevroman@gmail.com> | 2016-02-15 14:48:50 +0000 |
---|---|---|
committer | Roman Gareev <gareevroman@gmail.com> | 2016-02-15 14:48:50 +0000 |
commit | 036c08874ae77b96afc3891a947b29114a5f7d27 (patch) | |
tree | e0614691d8986eadbefa4308884176b58b8249d4 /lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp | |
parent | 766a659eb5ab50d6dd5d447efb939ba74321c20e (diff) | |
download | bcm5719-llvm-036c08874ae77b96afc3891a947b29114a5f7d27.tar.gz bcm5719-llvm-036c08874ae77b96afc3891a947b29114a5f7d27.zip |
Tweak the LICM code to reuse the first sub-loop instead of creating a new one
LICM starts with an *empty* AST, and then merges in each sub-loop. While the
add code is appropriate for sub-loop 2 and up, it's utterly unnecessary for
sub-loop 1. If the AST starts off empty, we can just clone/move the contents
of the subloop into the containing AST.
Reviewed-by: Philip Reames <listmail@philipreames.com>
Differential Revision: http://reviews.llvm.org/D16753
llvm-svn: 260892
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp')
0 files changed, 0 insertions, 0 deletions