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 /clang/lib/AST | |
| parent | 1563a76fd3ff23bb10f6f918ff2c92c10740fb68 (diff) | |
| download | bcm5719-llvm-30ae06be1495734d4679cdd7db732e02cf56a61c.tar.gz bcm5719-llvm-30ae06be1495734d4679cdd7db732e02cf56a61c.zip | |
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 'clang/lib/AST')
0 files changed, 0 insertions, 0 deletions

