[llvm-commits] r55638 - /llvm/trunk/include/llvm/Function.h
Duncan Sands
baldrick at free.fr
Wed Oct 1 00:54:26 PDT 2008
On Tuesday 30 September 2008 18:28:58 Devang Patel wrote:
>
> On Sep 30, 2008, at 12:39 AM, Duncan Sands wrote:
>
> >> Ignore inliner for a while, and decide what code generator should do
> >> for following ?
> >>
> >> define float @foo(float %a, float %b) x86_no_sse {
> >> %t = mul float %a, %b
> >> ret float %t
> >> }
> >
> > It would use the x86 floating point stack, like it does now
> > if you compile with -mattr=-sse. This is less efficient than
> > using sse.
>
> So, I guess you answered your question.
So what you are saying is: if function A is marked no-sse,
and it calls function B which is marked sse, than B will
not be inlined into A if B contains any floating point
operations (for example, a fp multiplication)?
Ciao,
Duncan.
More information about the llvm-commits
mailing list