[cfe-dev] PCRE compiles fines and passes the test suite :)

Chris Lattner clattner at apple.com
Wed Jan 30 15:40:56 PST 2008


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




More information about the cfe-dev mailing list