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

Duncan Sands baldrick at free.fr
Wed Aug 22 16:39:55 PDT 2007


Author: baldrick
Date: Wed Aug 22 18:39:54 2007
New Revision: 41304

URL: http://llvm.org/viewvc/llvm-project?rev=41304&view=rev
Log:
Implement review feedback on trampoline documentation.

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=41304&r1=41303&r2=41304&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Wed Aug 22 18:39:54 2007
@@ -5171,9 +5171,6 @@
   The call <tt>%val = call i32 %fp( i32 %x, i32 %y )</tt> is then equivalent to
   <tt>%val = call i32 %f( i8* %nval, i32 %x, i32 %y )</tt>.
 </p>
-<p>
-  Trampolines are currently only supported on the X86 architecture.
-</p>
 </div>
 
 <!-- _______________________________________________________________________ -->
@@ -5194,9 +5191,10 @@
   The <tt>llvm.init.trampoline</tt> intrinsic takes three arguments, all
   pointers.  The <tt>tramp</tt> argument must point to a sufficiently large
   and sufficiently aligned block of memory; this memory is written to by the
-  intrinsic.  Currently LLVM provides no help in determining just how big and
-  aligned the memory needs to be.  The <tt>func</tt> argument must hold a
-  function bitcast to an <tt>i8*</tt>.
+  intrinsic.  Note that the size and the alignment are target-specific - LLVM
+  currently provides no portable way of determining them, so a front-end that
+  generates this intrinsic needs to have some target-specific knowledge.
+  The <tt>func</tt> argument must hold a function bitcast to an <tt>i8*</tt>.
 </p>
 <h5>Semantics:</h5>
 <p>





More information about the llvm-commits mailing list