[llvm-commits] [llvm-gcc-4.2] r46373 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

Chris Lattner sabre at nondot.org
Sat Jan 26 00:17:14 PST 2008


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



More information about the llvm-commits mailing list