[llvm-commits] [llvm] r57050 - in /llvm/trunk: lib/Transforms/IPO/AddReadAttrs.cpp test/Transforms/AddReadAttrs/2008-10-04-LocalMemory.ll
Chris Lattner
clattner at apple.com
Sat Oct 4 13:25:39 PDT 2008
On Oct 4, 2008, at 6:24 AM, Duncan Sands wrote:
> Author: baldrick
> Date: Sat Oct 4 08:24:24 2008
> New Revision: 57050
>
> URL: http://llvm.org/viewvc/llvm-project?rev=57050&view=rev
> Log:
> Ignore loads from and stores to local memory (i.e. allocas)
> when deciding whether to mark a function readnone/readonly.
> Since the pass is currently run before SROA, this may be
> quite helpful. Requested by Chris on IRC.
Nice, thanks Duncan!
-Chris
More information about the llvm-commits
mailing list