diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-04 15:46:35 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-04 15:46:35 +0000 |
commit | 61399af13fd46fe1be85807ae1d595b1b9ff62cf (patch) | |
tree | bacf3cfbc42dc8010c39bf490e4ff0eb4a2116ff /docs/CodeGenerator.html | |
parent | 444099f615c8eebea8d1f22cbad9dfb5664a16e9 (diff) | |
download | llvm-61399af13fd46fe1be85807ae1d595b1b9ff62cf.tar.gz llvm-61399af13fd46fe1be85807ae1d595b1b9ff62cf.tar.bz2 llvm-61399af13fd46fe1be85807ae1d595b1b9ff62cf.tar.xz |
Fix example to be valid LLVM assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodeGenerator.html')
-rw-r--r-- | docs/CodeGenerator.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index c09d9e1cd7..bcbb64cafb 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -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> |