[LLVMdev] Getting rid of the DoesntAccessMemoryFns and OnlyReadsMemoryFns tables

Chris Lattner sabre at nondot.org
Sat Nov 24 16:24:05 PST 2007


On Sat, 24 Nov 2007, Duncan Sands wrote:
> yes it will, but they can always add these tables to their code and use 
> them to generate the appropriate readnone/readonly attributes.  You 
> should be aware that the tables were not that accurate.

Another thing to point out is that this removes hard coded C knowledge 
from the LLVM optimizer.  For languages that define "sin" to not be libm 
sine, this is a huge step forward.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list