[LLVMdev] "pure" functions"

Reid Spencer reid at x10sys.com
Sun Jun 4 14:21:26 PDT 2006


On Sun, 2006-06-04 at 13:08 -0500, Chris Lattner wrote:
> On Sun, 4 Jun 2006, Reid Spencer wrote:
> > Basically, anything that doesn't do any load or store
> > outside of its parameters and no malloc or free?  Maybe a few other
> > constraints. Sounds fairly easy to deduce and might be useful for
> > optimization.
> 
> We already do that, but it doesn't help for external functions (e.g. 
> strlen).

I see. Just another reason why *everything* should be compiled with
LLVM :)

Reid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060604/ba8fbf41/attachment.sig>


More information about the llvm-dev mailing list