Roman Gareev 036c08874a 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
2016-02-15 14:48:50 +00:00
..
2016-02-06 07:47:48 +00:00
2016-02-12 20:33:51 +00:00
2015-08-24 20:11:14 +00:00
2016-02-06 07:47:48 +00:00
2016-01-24 16:46:53 +00:00
2015-12-12 05:38:55 +00:00