Commits

Arnold Schwaighofer committed c087f218f99
COWArrayOpt: Hoist array projections to the preheader In nested loops the projection operations to get to the array are only conditionally executed (they reside in the preheader of the inner loop). So LICM will not hoist them. Instead, recognize them and hoist them on demand. rdar://19957962 Swift SVN r25620