On Jan 30, 2008, at 3:08 PM, Steve Naroff wrote:

> Makes sense. It would still be good to have numbers to verify...
>
> Since GCC doesn't do IPO by default, it would be useful to have an
> "apples to apples" comparison.
>
> I want to make sure clang stays competitive (in terms of compile
> time)...

A 'more' apples to apple comparison would be to do:

clang -emit-llvm-bc | opt -std-compile-opts | llc > foo.s

at compile time, which roughly corresponds to -O3.  It will be slower  
because of the forking/execing and writing/reading of bc files, but  
the codegen should be comparable.

-Chris

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to