commit | c82b6a1ed2496ce0d61d2e51ed3a4cac4db786da | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Sat Oct 04 13:24:24 2008 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Sat Oct 04 13:24:24 2008 +0000 |
tree | 64fec2d7d3157af9f6595b2bc6e554a543e201b9 | |
parent | 26e4b216c0c065dece616c1c9931252e2a0e40c6 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57050 91177308-0d34-0410-b5e6-96231b3b80d8