diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-05 16:43:41 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-05 16:43:41 +0000 |
commit | 4d050b6f85b28bd1511aba27377dda941ed6d644 (patch) | |
tree | de387376bf1b5e68adf67d554f7ad645b1125738 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | a9ff8576fbaf22462f3ecc9e9a9f338d1136ace5 (diff) | |
download | llvm-4d050b6f85b28bd1511aba27377dda941ed6d644.zip llvm-4d050b6f85b28bd1511aba27377dda941ed6d644.tar.gz llvm-4d050b6f85b28bd1511aba27377dda941ed6d644.tar.bz2 |
Lazily allocate DenseMaps.
This makes lookup slightly more expensive but it's worth it, unused
DenseMaps are common in LLVM code apparently.
1% speedup on clang -O3 bzip2.c
4% speedup on clang -O3 oggenc.c (Release build of clang on i386/linux)
llvm-svn: 127088
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions