aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-22 21:21:08 +0000
committerEli Bendersky <eliben@google.com>2013-04-22 21:21:08 +0000
commit58b04b7e2eec3332f1fcbdce679912d323aa29f3 (patch)
tree319e031585e2ea9808280fff7d9844f53910308f /llvm/lib/Bitcode/Reader/BitReader.cpp
parent365e3359ab11f71091d3414b96600700f3314862 (diff)
downloadllvm-58b04b7e2eec3332f1fcbdce679912d323aa29f3.zip
llvm-58b04b7e2eec3332f1fcbdce679912d323aa29f3.tar.gz
llvm-58b04b7e2eec3332f1fcbdce679912d323aa29f3.tar.bz2
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. llvm-svn: 180049
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions