[llvm] r260816 - [Hexagon] Replace use of "std::map::emplace" with "insert"

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 07:07:03 PST 2016


On 2/16/2016 6:08 PM, David Blaikie wrote:
>
> This would cause the InstrIndexMap to be copied on insertion, if you
> just roll it inot the insert (or call std::move on the insert) it should
> be a bit more efficient by being able to move from the InstrIndexMap
> into the BlockIndexes.

Fixed in r261096.  Thanks!

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-commits mailing list