On Jan 25, 2008, at 9:58 PM, Duncan Sands wrote: >> If a function takes a byval parameter, it can't be readnone, we >> have to mark it readonly instead. This fixes >> test/CFrontend/2008-01-25-ByValReadNone.c > > Thanks for doing this!
No problem, thanks for pointing out that it needed to be done. It would be nice if globalsmodref inferred that functions which only store to their byval args are really readnone. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits