diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-30 21:42:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-30 21:42:11 +0000 |
commit | 54a1f9f9c1e2cf6f4541e998b20f5c7cfbe642d9 (patch) | |
tree | 0fcab2122eded0f20eddece09ebd8ffc21c1fb57 /lib/Bitcode/Writer/ValueEnumerator.cpp | |
parent | 83738a20ddb64838f94461320c6af8ae2a8329ba (diff) |
do not bother reuniquing mdnodes whose operands drop to null. Doing
so can be a huge performance issue when tearing down modules and mdnodes
are not guaranteed to be unique anyway. This speeds up:
$ time ~/llvm/Release/bin/clang gcc.c -w -S -g
from 72 to 35s, where gcc.c is from:
http://people.csail.mit.edu/smcc/projects/single-file-programs/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.cpp')
0 files changed, 0 insertions, 0 deletions