[llvm-commits] [llvm-gcc-4.2] r63344 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Evan Cheng
echeng at apple.com
Fri Jan 30 09:34:58 PST 2009
On Jan 30, 2009, at 1:11 AM, Duncan Sands wrote:
> Hi Evan,
>
>> - Split createOptimizationPasses() into two. Now we initialize the
>> per module pass manager after all the functions are processed. This
>> allows it to scan the list and find out whether always-inline pass
>> is actually needed.
>
> can't the "always inline" pass take care of this itself?
> i.e. bail out early if no functions are "always inline".
It's better to determine this in llvm-gcc. If there are no per module
passes, we can codegen one function at a time. It's not done yet, but
that's where we want to go for -O0.
Evan
>
>
> Ciao,
>
> Duncan.
More information about the llvm-commits
mailing list