mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 04:31:17 +00:00
Fix example to be valid LLVM assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
444099f615
commit
61399af13f
@ -621,9 +621,9 @@ copies a virtual register into or out of a physical register when needed.</p>
|
||||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
int %test(int %X, int %Y) {
|
||||
%Z = div int %X, %Y
|
||||
ret int %Z
|
||||
define i32 @test(i32 %X, i32 %Y) {
|
||||
%Z = udiv i32 %X, %Y
|
||||
ret i32 %Z
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user