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

Duncan Sands baldrick at free.fr
Wed Sep 24 12:11:26 PDT 2008


> The pass that updates readonly and readone status can look at call  
> llvm.log parameters and do the right thing.

Not if there are several calls to it with different parameters,
which may be the case with link time optimization.  Also, this
is a general mechanism - imagine it being used not for an llvm
intrinsic but for a routine from a runtime library; then llvm
wouldn't know about the special properties of the function.  But
that's ok, it doesn't have to!

Ciao,

Duncan.



More information about the llvm-commits mailing list