MarkModRef -> AddReadAttrs.

llvm-svn: 57459
This commit is contained in:
Duncan Sands 2008-10-13 18:42:43 +00:00
parent 731f400eac
commit 3040939c64

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 pulled out of instcombine and put into a new ValueTracking.h file, where they
can be reused by other passes.</li> 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> </ul>
</div> </div>