summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-22 11:17:08 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-22 11:17:08 +0000
commit7a3b7e5efc44c3852c5b34b245bd4eedeeac886f (patch)
tree15ca5ff9030be62618af45f11e526976c3140729 /docs
parent7462c12855be8f2fd027189de7213f7b844ec778 (diff)
downloadllvm-7a3b7e5efc44c3852c5b34b245bd4eedeeac886f.tar.gz
llvm-7a3b7e5efc44c3852c5b34b245bd4eedeeac886f.tar.bz2
llvm-7a3b7e5efc44c3852c5b34b245bd4eedeeac886f.tar.xz
Remove 'sretpromotion' pass from the documentation. This pass is long
dead. Patch by Stephan Falke. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/Passes.html24
1 files changed, 0 insertions, 24 deletions
diff --git a/docs/Passes.html b/docs/Passes.html
index aa9f8bc247..7bffc54d8d 100644
--- a/docs/Passes.html
+++ b/docs/Passes.html
@@ -175,7 +175,6 @@ perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print " <p>\n" if !
<tr><td><a href="#simplify-libcalls">-simplify-libcalls</a></td><td>Simplify well-known library calls</td></tr>
<tr><td><a href="#simplifycfg">-simplifycfg</a></td><td>Simplify the CFG</td></tr>
<tr><td><a href="#sink">-sink</a></td><td>Code sinking</td></tr>
-<tr><td><a href="#sretpromotion">-sretpromotion</a></td><td>Promote sret arguments to multiple ret values</td></tr>
<tr><td><a href="#strip">-strip</a></td><td>Strip all symbols from a module</td></tr>
<tr><td><a href="#strip-dead-debug-info">-strip-dead-debug-info</a></td><td>Strip debug info for unused symbols</td></tr>
<tr><td><a href="#strip-dead-prototypes">-strip-dead-prototypes</a></td><td>Strip Unused Function Prototypes</td></tr>
@@ -1715,29 +1714,6 @@ if (X &lt; 3) {</pre>
<!-------------------------------------------------------------------------- -->
<h3>
- <a name="sretpromotion">-sretpromotion: Promote sret arguments to multiple ret values</a>
-</h3>
-<div>
- <p>
- This pass finds functions that return a struct (using a pointer to the struct
- as the first argument of the function, marked with the '<tt>sret</tt>' attribute) and
- replaces them with a new function that simply returns each of the elements of
- that struct (using multiple return values).
- </p>
-
- <p>
- This pass works under a number of conditions:
- </p>
-
- <ul>
- <li>The returned struct must not contain other structs</li>
- <li>The returned struct must only be used to load values from</li>
- <li>The placeholder struct passed in is the result of an <tt>alloca</tt></li>
- </ul>
-</div>
-
-<!-------------------------------------------------------------------------- -->
-<h3>
<a name="strip">-strip: Strip all symbols from a module</a>
</h3>
<div>