summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-08-22 23:39:54 +0000
committerDuncan Sands <baldrick@free.fr>2007-08-22 23:39:54 +0000
commitf2bcd37083c3115b4b2ed9decf2d782484a73412 (patch)
tree49308f7713bfada25a40432198947e2ec82df22c /llvm/docs/LangRef.html
parent7e901fdf86641a28eb6ee8af32ff3587d7461fdf (diff)
downloadbcm5719-llvm-f2bcd37083c3115b4b2ed9decf2d782484a73412.tar.gz
bcm5719-llvm-f2bcd37083c3115b4b2ed9decf2d782484a73412.zip
Implement review feedback on trampoline documentation.
llvm-svn: 41304
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index bf9464bc7db..687c87f45f3 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -5171,9 +5171,6 @@ declare void @llvm.memory.barrier( i1 &lt;ll&gt;, i1 &lt;ls&gt;, i1 &lt;sl&gt;,
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 @@ declare void @llvm.init.trampoline(i8* &lt;tramp&gt;, i8* &lt;func&gt;, i8* &lt;
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>
OpenPOWER on IntegriCloud