Hi! if I have a function with readnone attribute. is it then allowed to access an "internal constant" which is defined outside the function in llvm ir assembly? -Jochen
On Fri, Oct 15, 2010 at 10:20 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:> Hi! > > if I have a function with readnone attribute. > is it then allowed to access an "internal constant" > which is defined outside the function in llvm ir assembly?Yes, that's allowed; see http://llvm.org/docs/LangRef.html#fnattrs for the full definition. -Eli