From: Matthijs Kooijman
Date: Wed, 4 Jun 2008 15:46:35 +0000 (+0000)
Subject: Fix example to be valid LLVM assembly.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=61399af13fd46fe1be85807ae1d595b1b9ff62cf;p=oota-llvm.git
Fix example to be valid LLVM assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51942 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index c09d9e1cd70..bcbb64cafb1 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.
-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
}