Commits

Andrew Trick committed 4ffa05c418e
Add the CapturePropagation pass to specialize closures on constant arguments. Fixes <rdar://problem/16755460> Specialize functions that are partially applied to constant values This seems to have little effect on our current benchmark suite except for the one I wrote specifically for this optimization. We get 4x speedup on calling reduce to sum a range. Swift SVN r21248