From 1c406d77a69d42187794ad98f49b0935b31f1840 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Apr 2008 04:06:52 +0000 Subject: [PATCH] Allow undef as an operand to getresult. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50130 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index a638e508805..f2fa698e09f 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3925,9 +3925,10 @@ results.

Arguments:

The 'getresult' instruction takes a call or invoke value as its -first argument. The value must have structure type. -The second argument is a constant unsigned index value which must be in range for -the number of values returned by the call.

+first argument, or an undef value. The value must have structure type. The second argument is a constant +unsigned index value which must be in range for the number of values returned +by the call.

Semantics:
-- 2.34.1