From: Chandler Carruth
Date: Thu, 22 Nov 2012 11:17:08 +0000 (+0000)
Subject: Remove 'sretpromotion' pass from the documentation. This pass is long
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7a3b7e5efc44c3852c5b34b245bd4eedeeac886f;p=oota-llvm.git
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
---
diff --git a/docs/Passes.html b/docs/Passes.html
index aa9f8bc2477..7bffc54d8d4 100644
--- a/docs/Passes.html
+++ b/docs/Passes.html
@@ -175,7 +175,6 @@ perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print " \n" if !
-simplify-libcalls | Simplify well-known library calls |
-simplifycfg | Simplify the CFG |
-sink | Code sinking |
--sretpromotion | Promote sret arguments to multiple ret values |
-strip | Strip all symbols from a module |
-strip-dead-debug-info | Strip debug info for unused symbols |
-strip-dead-prototypes | Strip Unused Function Prototypes |
@@ -1713,29 +1712,6 @@ if (X < 3) {
-
-
-
-
- This pass finds functions that return a struct (using a pointer to the struct
- as the first argument of the function, marked with the 'sret' attribute) and
- replaces them with a new function that simply returns each of the elements of
- that struct (using multiple return values).
-
-
-
- This pass works under a number of conditions:
-
-
-
- - The returned struct must not contain other structs
- - The returned struct must only be used to load values from
- - The placeholder struct passed in is the result of an alloca
-
-
-