Displaying 2 results from an estimated 2 matches for "falsebaptist".
Did you mean:
falsebaptiste
2007 Jan 05
2
[LLVMdev] ICmp documentation clarification
...f the trunc
instruction before processing the comparison operation.
Concerning instruction trunc, is bool considered to be an alias to type i1.
If so, does the following stand true:
%Y = trunc i32 123 to bool ; yields bool:true%Y = trunc i32
122 to bool ; yields bool:falseBaptiste.
2007 Jan 05
0
[LLVMdev] ICmp documentation clarification
...e an alias to type i1.
Yes.
> If so, does the following stand true:
> %Y = trunc i32 123 to bool ; yields bool:true
Yes. When you truncate to bool, it really truncates so only the least
significant bit is retained.
> %Y = trunc i32 122 to bool ; yields bool:falseBaptiste.
Yes.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev