[llvm-commits] noinline attributes patch

Tanya Lattner lattner at apple.com
Tue Jun 5 14:15:34 PDT 2007


On Jun 4, 2007, at 11:59 PM, Anton Korobeynikov wrote:

> Tanya,
>
>> The attached patch creates a global to track functions that should
>> not be inlined (noinline attribute). The llvm inliner will need to be
>> modified to make use of it.
> Why don't use the function attribute for "noinline"? This seems to be
> natural way to handle such things.

That is another way to do it. I thought this was simpler. What are  
the pros/cons of using function attribute?

-Tanya

> -- 
> With best regards, Anton Korobeynikov.
>
> Faculty of Mathematics & Mechanics, Saint Petersburg State University.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list