[llvm-commits] [llvm] r61469 - in /llvm/trunk: lib/Transforms/IPO/AddReadAttrs.cpp test/Transforms/AddReadAttrs/2008-12-29-Constant.ll

Chris Lattner clattner at apple.com
Mon Dec 29 09:22:04 PST 2008


On Dec 29, 2008, at 3:34 AM, Duncan Sands wrote:

> Author: baldrick
> Date: Mon Dec 29 05:34:09 2008
> New Revision: 61469
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61469&view=rev
> Log:
> Allow readnone functions to read (and write!) global
> constants, since doing so is irrelevant for aliasing
> purposes.  While this doesn't increase the total number
> of functions marked readonly or readnone in MultiSource/
> Applications (3089), it does result in 12 functions being
> marked readnone rather than readonly.
> Before:
>  readnone: 820
>  readonly: 2269
> After:
>  readnone: 832
>  readonly: 2257

Nice!!

-Chris



More information about the llvm-commits mailing list