summaryrefslogtreecommitdiff
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-22 20:38:11 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-22 20:38:11 +0000
commitd0a4c62a031ea9f0e2be2fe1f16af2209602ed94 (patch)
tree5985e95b74124ea77228d2e7bb5b8988fbd36eb3 /docs/LangRef.html
parentb69f342b0e57833db9b6927135b8dea6bb0a93f4 (diff)
downloadllvm-d0a4c62a031ea9f0e2be2fe1f16af2209602ed94.tar.gz
llvm-d0a4c62a031ea9f0e2be2fe1f16af2209602ed94.tar.bz2
llvm-d0a4c62a031ea9f0e2be2fe1f16af2209602ed94.tar.xz
SelectionDAG is very unhappy when the argument to an intrinsic is a struct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index f5406f5f92..3fac48d5c3 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2317,8 +2317,7 @@ int %test(int %X, ...) {
; Demonstrate usage of llvm.va_copy and llvm.va_end
%aq = alloca sbyte*
- %apv = load sbyte** %ap
- call void %<a href="#i_va_copy">llvm.va_copy</a>(sbyte** %aq, sbyte* %apv)
+ call void %<a href="#i_va_copy">llvm.va_copy</a>(sbyte** %aq, sbyte** %ap)
call void %<a href="#i_va_end">llvm.va_end</a>(sbyte** %aq)
; Stop processing of arguments.
@@ -2390,7 +2389,7 @@ with calls to <tt>llvm.va_end</tt>.</p>
<pre>
declare void %llvm.va_copy(&lt;va_list&gt;* &lt;destarglist&gt;,
- &lt;va_list&gt; &lt;srcarglist&gt;)
+ &lt;va_list&gt;* &lt;srcarglist&gt;)
</pre>
<h5>Overview:</h5>
@@ -2401,7 +2400,7 @@ the source argument list to the destination argument list.</p>
<h5>Arguments:</h5>
<p>The first argument is a pointer to a <tt>va_list</tt> element to initialize.
-The second argument is a <tt>va_list</tt> element to copy from.</p>
+The second argument is a pointer to a <tt>va_list</tt> element to copy from.</p>
<h5>Semantics:</h5>