[llvm-commits] [llvm] r82689 - in /llvm/trunk: lib/Transforms/IPO/IPConstantPropagation.cpp lib/Transforms/Scalar/SCCP.cpp test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll

Török Edwin edwintorok at gmail.com
Thu Sep 24 11:34:05 PDT 2009


On 2009-09-24 18:44, Duncan Sands wrote:
> Hi Edwin,
>
>> Don't constant propagate byval pointers, since they are not really
>> pointers, but
>> rather structs passed by value.
>
> isn't this transform ok if the function is readonly?
 
Fixed in r82700.

Thanks,
--Edwin



More information about the llvm-commits mailing list