[llvm-commits] [llvm] r72285 - /llvm/trunk/docs/LangRef.html

Dan Gohman gohman at apple.com
Fri May 22 14:47:08 PDT 2009


Author: djg
Date: Fri May 22 16:47:08 2009
New Revision: 72285

URL: http://llvm.org/viewvc/llvm-project?rev=72285&view=rev
Log:
Add a note mentioning that uses of the return value of an invoke
must be dominated by the normal label.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=72285&r1=72284&r2=72285&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Fri May 22 16:47:08 2009
@@ -2383,6 +2383,10 @@
 exception.  Additionally, this is important for implementation of
 '<tt>catch</tt>' clauses in high-level languages that support them.</p>
 
+<p>It is not valid to reference the return value of an invoke call from
+anywhere not dominated by the normal label, since an unwind does not
+provide a return value.</p>
+
 <h5>Example:</h5>
 <pre>
   %retval = invoke i32 @Test(i32 15) to label %Continue





More information about the llvm-commits mailing list