commit | d0ac373660de64fe210e50458c7702432b3f9605 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Sep 03 15:31:24 2008 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Sep 03 15:31:24 2008 +0000 |
tree | 4e4a4900da55efe996274d087096cb54c26b6f06 | |
parent | 9a036b945c67aeb44093c6c515e4b85e21094335 [diff] |
Since onlyReadsMemory returns true if in fact doesNotAccessMemory, check doesNotAccessMemory first, since otherwise functions may be marked readonly rather than readnone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55697 91177308-0d34-0410-b5e6-96231b3b80d8