[cfe-commits] r83116 - in /cfe/trunk: include/clang/AST/Type.h include/clang/Analysis/PathSensitive/MemRegion.h lib/AST/Type.cpp lib/Analysis/RegionStore.cpp lib/Sema/Sema.cpp lib/Sema/SemaDeclCXX.cpp

Chris Lattner clattner at apple.com
Tue Sep 29 16:29:53 PDT 2009


On Sep 29, 2009, at 4:10 PM, John McCall wrote:

> John McCall wrote:
>> Author: rjmccall
>> Date: Tue Sep 29 18:03:30 2009
>> New Revision: 83116
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=83116&view=rev
>> Log:
>> Desugaring optimizations.  Add single-step desugaring methods to all
>> concrete types.  Use unqualified desugaring for getAs<> and sundry.
>> Fix a few users to either not desugar or use qualified desugar, as  
>> seemed
>> appropriate.  Removed Type's qualified desugar method, as it was easy
>> to accidentally use instead of QualType's.
>>
>
> This was worth about 2%.  Informal benchmarking, go go:
>
> Before:
> name      avg     min     med     max      SD    total
> user     0.2289  0.2285  0.2288  0.2298  0.0002  9.1547
> sys     0.0332  0.0338  0.0324  0.0354  0.0015  1.3262
> wall     0.2651  0.2650  0.2653  0.2673  0.0009 10.6026
>
> After:
> name      avg     min     med     max      SD    total
> user     0.2239  0.2236  0.2238  0.2246  0.0003  8.9565
> sys     0.0314  0.0309  0.0299  0.0346  0.0020  1.2557
> wall     0.2600  0.2598  0.2591  0.2622  0.0011 10.3999
>
> And that's enough of that;  back to anonymous namespaces.

Thanks John!

-Chris



More information about the cfe-commits mailing list