mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Apparently it's possible to do an 'invoke asm'.
Update the language reference to reflect that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e882accb7a
commit
0b5f1aca32
@ -2867,8 +2867,9 @@ i32 (i32) asm "bswap $0", "=r,r"
|
||||
</pre>
|
||||
|
||||
<p>Inline assembler expressions may <b>only</b> be used as the callee operand of
|
||||
a <a href="#i_call"><tt>call</tt> instruction</a>. Thus, typically we
|
||||
have:</p>
|
||||
a <a href="#i_call"><tt>call</tt></a> or an
|
||||
<a href="#i_invoke"><tt>invoke</tt></a> instruction.
|
||||
Thus, typically we have:</p>
|
||||
|
||||
<pre class="doc_code">
|
||||
%X = call i32 asm "<a href="#int_bswap">bswap</a> $0", "=r,r"(i32 %Y)
|
||||
|
Loading…
Reference in New Issue
Block a user