Commits

Roman Levenstein committed 62e5b77cacf
[sil-mandatory-inliner] Decrease the compile time The inlining algorithm was rescanning the whole basic block after inlining a call, which resulted in O(N^2) time complexity. In some pathological cases like e.g. huge basic blocks with many thousands of calls this would lead to very long compile times which could takes hours to finish. This change improves compile times by avoiding the rescanning of basic blocks containing the call which was inlined. rdar://27818830