[llvm-commits] [llvm] r55638 - /llvm/trunk/include/llvm/Function.h

Duncan Sands baldrick at free.fr
Fri Sep 26 13:02:10 PDT 2008


> > does this mean that it will no longer be possible to mark a
> > callsite "readonly" when the function is not readonly?  Or
> > is it just about separating attributes for the result value
> > from properties of the call/function?
> 
> It is just about separating attributes for the result value from  
> properties of the call/function

Ah, ok.  I thought it meant that callsites would not be able to
have these attributes anymore, or that they couldn't be different
to what's on the callee.  I though that because it doesn't make any
sense to have "opt-size" on a callsite, or "sse2", etc.  Not to
mention that when compiling the call you can't in general know whether
the callee is going to be compiled with opt-size, sse2 or a frame-pointer:
it might be defined in a different compilation unit and you only have a
declaration...

Ciao,

Duncan.



More information about the llvm-commits mailing list