From 6a29201565cb6ff98e29636fad9ab33322a9d98b Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 28 Oct 2009 09:21:30 +0000 Subject: 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 --- docs/LangRef.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index e205dc2949..165c9598f2 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
 
-- cgit v1.2.3