[PATCH] Replace another std::set in the core of CodeGenRegister, this time with sorted arrays.
resistor at mac.com
Fri Jan 30 23:59:55 PST 2015
The hot path through this region of code does lots of batch inserts into sets. By storing them as sorted arrays, we can defer the sorting to the end of the batch, which is dramatically more efficient. This reduces tblgen runtime by 25% on my worst-case target.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11253 bytes
Desc: not available
More information about the llvm-commits