From 5cf0fe40d0632fb130ca81f7efa32fa988de3c79 Mon Sep 17 00:00:00 2001
From: Reid Spencer
Date: Fri, 5 Jan 2007 21:33:08 +0000
Subject: [PATCH] Add an example to the trunc instruction to clarify trunc to
bool. Example provided by Baptiste Lepilleur.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32931 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 5e030305b5e..0c004e48251 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2701,6 +2701,7 @@ It will always truncate bits.
%X = trunc i32 257 to i8 ; yields i8:1
%Y = trunc i32 123 to bool ; yields bool:true
+ %Y = trunc i32 122 to bool ; yields bool:false
--
2.34.1