[llvm] r180049 - Optimize MachineBasicBlock::getSymbol by caching the symbol. Since the symbol
Chris Lattner
clattner at apple.com
Tue Apr 23 21:36:38 PDT 2013
On Apr 22, 2013, at 2:21 PM, Eli Bendersky <eliben at google.com> wrote:
> Author: eliben
> Date: Mon Apr 22 16:21:08 2013
> New Revision: 180049
>
> URL: http://llvm.org/viewvc/llvm-project?rev=180049&view=rev
> Log:
> Optimize MachineBasicBlock::getSymbol by caching the symbol. Since the symbol
> name computation is expensive, this helps save about 25% of the time spent in
> this function.
>
Looks great, thanks Eli!
-Chris
More information about the llvm-commits
mailing list