[LLVMdev] readnone

Garrison Venn gvenn.cfe.dev at gmail.com
Sat Sep 10 09:33:31 PDT 2011


If a function accesses a global constant array of constants--in my case
a constant array of function pointers, and does NOT reference this 
array via a function argument (it instead directly references this global), 
is this enough to disallow the application of the readnone attribute to the 
function in question?

Thanks in advance

Garrison



More information about the llvm-dev mailing list