From d0a4c62a031ea9f0e2be2fe1f16af2209602ed94 Mon Sep 17 00:00:00 2001
From: Andrew Lenharth
Date: Wed, 22 Jun 2005 20:38:11 +0000
Subject: [PATCH] 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
---
docs/LangRef.html | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/docs/LangRef.html b/docs/LangRef.html
index f5406f5f928..3fac48d5c31 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 %llvm.va_copy(sbyte** %aq, sbyte* %apv)
+ call void %llvm.va_copy(sbyte** %aq, sbyte** %ap)
call void %llvm.va_end(sbyte** %aq)
; Stop processing of arguments.
@@ -2390,7 +2389,7 @@ with calls to llvm.va_end.
declare void %llvm.va_copy(<va_list>* <destarglist>,
- <va_list> <srcarglist>)
+ <va_list>* <srcarglist>)
Overview:
@@ -2401,7 +2400,7 @@ the source argument list to the destination argument list.
Arguments:
The first argument is a pointer to a va_list element to initialize.
-The second argument is a va_list element to copy from.
+The second argument is a pointer to a va_list element to copy from.
Semantics:
--
2.34.1