summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-27 07:55:32 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-27 07:55:32 +0000
commit14d1cccc2be9ecde362183a50d4d15c169e0c813 (patch)
treeee983d3020c05903f807ae8f113ef18d591d094e /llvm/docs/LangRef.html
parent42fb7452dfbc20c31c97c2d88ef5e6019323377a (diff)
downloadbcm5719-llvm-14d1cccc2be9ecde362183a50d4d15c169e0c813.tar.gz
bcm5719-llvm-14d1cccc2be9ecde362183a50d4d15c169e0c813.zip
Remove dead code from this function and optimize. Update its corresponding
LangRef entry too. llvm-svn: 82890
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 935625dbfaa..6f5fbb3f35b 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -1592,7 +1592,7 @@ Classifications</a> </div>
<h5>Syntax:</h5>
<pre>
- &lt;returntype list&gt; (&lt;parameter list&gt;)
+ &lt;returntype&gt; (&lt;parameter list&gt;)
</pre>
<p>...where '<tt>&lt;parameter list&gt;</tt>' is a comma-separated list of type
@@ -1600,8 +1600,8 @@ Classifications</a> </div>
which indicates that the function takes a variable number of arguments.
Variable argument functions can access their arguments with
the <a href="#int_varargs">variable argument handling intrinsic</a>
- functions. '<tt>&lt;returntype list&gt;</tt>' is a comma-separated list of
- <a href="#t_firstclass">first class</a> type specifiers.</p>
+ functions. '<tt>&lt;returntype&gt;</tt>' is a any type except
+ <a href="#t_label">label</a> and <a href="#t_metadata">metadata</a>.</p>
<h5>Examples:</h5>
<table class="layout">
@@ -1626,8 +1626,8 @@ Classifications</a> </div>
</td>
</tr><tr class="layout">
<td class="left"><tt>{i32, i32} (i32)</tt></td>
- <td class="left">A function taking an <tt>i32</tt>, returning two
- <tt>i32</tt> values as an aggregate of type <tt>{ i32, i32 }</tt>
+ <td class="left">A function taking an <tt>i32</tt>, returning a
+ <a href="#t_struct">structure</a> containing two <tt>i32</tt> values
</td>
</tr>
</table>
OpenPOWER on IntegriCloud