[llvm-commits] CVS: llvm/www/docs/LangRef.html
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 18 16:32:01 PDT 2003
Changes in directory llvm/www/docs:
LangRef.html updated: 1.24 -> 1.25
---
Log message:
Diversify examples
---
Diffs of the changes:
Index: llvm/www/docs/LangRef.html
diff -u llvm/www/docs/LangRef.html:1.24 llvm/www/docs/LangRef.html:1.25
--- llvm/www/docs/LangRef.html:1.24 Wed Jun 18 16:28:11 2003
+++ llvm/www/docs/LangRef.html Wed Jun 18 16:30:51 2003
@@ -1193,9 +1193,10 @@
<h5>Example:</h5>
<pre>
<result> = shr int 4, ubyte %var <i>; yields {int}:result = 4 >> %var</i>
- <result> = shr int 4, ubyte 1 <i>; yields {int}:result = 2</i>
+ <result> = shr uint 4, ubyte 1 <i>; yields {uint}:result = 2</i>
<result> = shr int 4, ubyte 2 <i>; yields {int}:result = 1</i>
- <result> = shr int 4, ubyte 3 <i>; yields {int}:result = 0</i>
+ <result> = shr sbyte 4, ubyte 3 <i>; yields {sbyte}:result = 0</i>
+ <result> = shr sbyte -2, ubyte 1 <i>; yields {sbyte}:result = -1</i>
</pre>
@@ -1810,7 +1811,7 @@
<address><a href="mailto:sabre at nondot.org">Chris Lattner</a></address>
<!-- Created: Tue Jan 23 15:19:28 CST 2001 -->
<!-- hhmts start -->
-Last modified: Wed Jun 18 16:27:39 CDT 2003
+Last modified: Wed Jun 18 16:29:55 CDT 2003
<!-- hhmts end -->
</font>
</body></html>
More information about the llvm-commits
mailing list