From: Gabor Greif Date: Wed, 28 Oct 2009 09:21:30 +0000 (+0000) Subject: advertise new syntax for unnamed instructions X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6a29201565cb6ff98e29636fad9ab33322a9d98b;p=oota-llvm.git advertise new syntax for unnamed instructions and eliminate confusing double-use of SSA names (work in progress) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85385 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index e205dc29492..165c9598f26 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -438,8 +438,8 @@
-add i32 %X, %X           ; yields {i32}:%0
-add i32 %0, %0           ; yields {i32}:%1
+%0 = add i32 %X, %X           ; yields {i32}:%0
+%1 = add i32 %0, %0           ; yields {i32}:%1
 %result = add i32 %1, %1
 
@@ -4249,7 +4249,7 @@ entry:
   %X = trunc i32 257 to i8              ; yields i8:1
   %Y = trunc i32 123 to i1              ; yields i1:true
-  %Y = trunc i32 122 to i1              ; yields i1:false
+  %Z = trunc i32 122 to i1              ; yields i1:false
 
@@ -4433,7 +4433,7 @@ entry:
   %X = fptoui double 123.0 to i32      ; yields i32:123
   %Y = fptoui float 1.0E+300 to i1     ; yields undefined:1
-  %X = fptoui float 1.04E+17 to i8     ; yields undefined:1
+  %Z = fptoui float 1.04E+17 to i8     ; yields undefined:1
 
@@ -4471,7 +4471,7 @@ entry:
   %X = fptosi double -123.0 to i32      ; yields i32:-123
   %Y = fptosi float 1.0E-247 to i1      ; yields undefined:1
-  %X = fptosi float 1.04E+17 to i8      ; yields undefined:1
+  %Z = fptosi float 1.04E+17 to i8      ; yields undefined:1
 
@@ -4615,8 +4615,8 @@ entry:
Example:
   %X = inttoptr i32 255 to i32*          ; yields zero extension on 64-bit architecture
-  %X = inttoptr i32 255 to i32*          ; yields no-op on 32-bit architecture
-  %Y = inttoptr i64 0 to i32*            ; yields truncation on 32-bit architecture
+  %Y = inttoptr i32 255 to i32*          ; yields no-op on 32-bit architecture
+  %Z = inttoptr i64 0 to i32*            ; yields truncation on 32-bit architecture