[llvm-commits] [PATCH] Use GetUnderlyingObjects in misched

Andrew Trick atrick at apple.com
Fri Dec 7 16:03:18 PST 2012


On Dec 7, 2012, at 8:46 AM, Sergei Larin <slarin at codeaurora.org> wrote:

> 
> Andy,
> 
>  Can you please share your timing methodology? I would like to be on the
> same page with your efforts :) 

I haven't developed a methodology and I don't have any particular compile-time stress tests yet. I run the test-suite plus a handful of larger benchmarks that have been integrated with the test-suite Makefiles, mainly SPEC.

For compile-time impacted by aggressive optimizations, we should probably use "-O3 -flto -g". For the GetUnderlyingObjects patch I only used -O3 because I don't have an easy way to measure -flto time, and -g isn't really relevant in this case.

If I see any compile-time discrepancy, I rerun that test with -time-passes, then drill down with a profiler or instrument the expensive pass.

-Andy



More information about the llvm-commits mailing list