Note that this was reverted due to post-commit review, but Phab
forked it into a different thread. Here it is:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147795.html
> On 2016-Jan-22, at 14:48, Duncan P. N. Exon Smith via cfe-commits
> wrote:
>
> Author: dexonsmith
> Date
Author: dexonsmith
Date: Fri Jan 22 16:48:02 2016
New Revision: 258575
URL: http://llvm.org/viewvc/llvm-project?rev=258575&view=rev
Log:
unordered_map: Reuse insert logic in emplace when possible, NFC
An upcoming commit will add an optimization to insert() that avoids
unnecessary mallocs when we