[patch] Refactor the Used flag logic (and a small bug fix)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Oct 24 18:59:00 PDT 2013

> Sounds good, go ahead.

OK. I have committed the fix. The attached patch is a rebased version
with just the refactoring.

On the testcase with 16384 redeclarations clang -cc1 goes from
0m3.412s to 0m4.759s.
On the file from Postgres in pr10651 it goes from 0m0.604s to 0m0.716s.

So it looks like at least for now we cannot afford it :-(

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 7849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131024/ac6cbce3/attachment.bin>

More information about the cfe-commits mailing list