[llvm-commits] [llvm] r122739 - /llvm/trunk/docs/WritingAnLLVMPass.html
Nick Lewycky
nicholas at mxc.ca
Sun Jan 2 22:16:07 PST 2011
Author: nicholas
Date: Mon Jan 3 00:16:07 2011
New Revision: 122739
URL: http://llvm.org/viewvc/llvm-project?rev=122739&view=rev
Log:
Further expand what a call graph pass may do.
The rationale is that after analyzing a function in the SCC, we may want to
modify it in a way that requires us to update its uses (f.e. to replace the
call with a constant) or its users (f.e. to call it with fewer arguments).
Modified:
llvm/trunk/docs/WritingAnLLVMPass.html
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=122739&r1=122738&r2=122739&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Mon Jan 3 00:16:07 2011
@@ -559,11 +559,9 @@
<ol>
-<li>... <em>not allowed</em> to modify any <tt>Function</tt>s that are not in
-the current SCC.</li>
-
-<li>... <em>not allowed</em> to inspect any <tt>Function</tt>s other than those
-in the current SCC and the direct callers and direct callees of the SCC.</li>
+<li>... <em>not allowed</em> to inspect or modify any <tt>Function</tt>s other
+than those in the current SCC and the direct callers and direct callees of the
+SCC.</li>
<li>... <em>required</em> to preserve the current CallGraph object, updating it
to reflect any changes made to the program.</li>
More information about the llvm-commits
mailing list