[LLVMdev] Getting rid of the DoesntAccessMemoryFns and OnlyReadsMemoryFns tables
to_cwright at yahoo.com
Sat Nov 24 06:13:11 PST 2007
--- Duncan Sands <baldrick at free.fr> wrote:
> The DoesntAccessMemoryFns and OnlyReadsMemoryFns tables are used
> by alias analysis to specify which standard functions don't access
> memory or only read memory. However gcc now automatically supplies
> this information to us.
> We could keep some small tables just for these, or nuke the tables altogether
> and assume that gcc knows what it is doing. In my opinion we should believe
> gcc and nuke the tables.
I'm quite new to using LLVM, and thus don't have a complete understanding of
how everything works yet, but won't removing this information have an impact on
projects that use LLVM as a backend only, and thus don't get any gcc supplied
Never miss a thing. Make Yahoo your home page.
More information about the llvm-dev