[LLVMdev] is it valid to compare between i1 value?

Ruiling Song ruiling.song83 at gmail.com
Sun Mar 1 23:21:00 PST 2015

Hi guys,

we are doing some testing against LLVM 3.6 and find below IR generated.
%Pivot = icmp slt i1 %trunc49, false
I am just curious about is this a valid LLVM IR?
If valid, is true (1) less than false (0)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150302/8ff64515/attachment.html>

More information about the llvm-dev mailing list