[llvm-commits] CVS: llvm/docs/LangRef.html
Reid Spencer
reid at x10sys.com
Fri Jan 5 13:33:24 PST 2007
Changes in directory llvm/docs:
LangRef.html updated: 1.187 -> 1.188
---
Log message:
Add an example to the trunc instruction to clarify trunc to bool.
Example provided by Baptiste Lepilleur.
---
Diffs of the changes: (+2 -1)
LangRef.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.187 llvm/docs/LangRef.html:1.188
--- llvm/docs/LangRef.html:1.187 Thu Jan 4 18:59:10 2007
+++ llvm/docs/LangRef.html Fri Jan 5 15:33:08 2007
@@ -2701,6 +2701,7 @@
<pre>
%X = trunc i32 257 to i8 <i>; yields i8:1</i>
%Y = trunc i32 123 to bool <i>; yields bool:true</i>
+ %Y = trunc i32 122 to bool <i>; yields bool:false</i>
</pre>
</div>
@@ -4503,7 +4504,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007/01/05 00:59:10 $
+ Last modified: $Date: 2007/01/05 21:33:08 $
</address>
</body>
</html>
More information about the llvm-commits
mailing list