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 | 49d443053bf6565f2420692b54f96abffa76f236 (patch) | |
tree | 0b3b3d76f70a79b30a7dd6bc68878dde983a716a /lib/CodeGen/MachineInstr.cpp | |
parent | 0df2c50c2bbf7b53f9abe519d655b70e92f65864 (diff) |
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions