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 | 30ae06be1495734d4679cdd7db732e02cf56a61c (patch) | |
tree | 53d2c04144e9b72b4b4289fbe744231b5ad674c4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 1563a76fd3ff23bb10f6f918ff2c92c10740fb68 (diff) | |
download | llvm-30ae06be1495734d4679cdd7db732e02cf56a61c.zip llvm-30ae06be1495734d4679cdd7db732e02cf56a61c.tar.gz llvm-30ae06be1495734d4679cdd7db732e02cf56a61c.tar.bz2 |
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/
llvm-svn: 92315
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions