MarkModRef -> AddReadAttrs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-10-13 18:42:43 +00:00
parent 195cd3a58d
commit 1050d7371d

View File

@ -249,7 +249,9 @@ and rewrote ADCE to be simpler faster, and not need control dependence.</li>
pulled out of instcombine and put into a new ValueTracking.h file, where they
can be reused by other passes.</li>
<li>MarkModRef etc</li>
<li>The new AddReadAttrs pass works out which functions are read-only or
read-none (these correspond to 'pure' and 'const' in C) and marks them
with the appropriate attribute.</li>
</ul>
</div>