Allow undef as an operand to getresult.
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 04:06:52 +0000 (04:06 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 04:06:52 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50130 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index a638e5088056b71d9c61bffc4168901f604c7f2d..f2fa698e09f4667398efe75c7b31df4325acc18d 100644 (file)
@@ -3925,9 +3925,10 @@ results.</p>
 <h5>Arguments:</h5>
 
 <p>The '<tt>getresult</tt>' instruction takes a call or invoke value as its 
-first argument.  The value must have <a href="#t_struct">structure type</a>. 
-The second argument is a constant unsigned index value which must be in range for
-the number of values returned by the call.</p>
+first argument, or an undef value.  The value must have <a 
+href="#t_struct">structure type</a>.  The second argument is a constant 
+unsigned index value which must be in range for the number of values returned 
+by the call.</p>
 
 <h5>Semantics:</h5>