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)? Thanks! Ruiling -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150302/8ff64515/attachment.html>
On Sun, Mar 1, 2015 at 11:21 PM, Ruiling Song <ruiling.song83 at gmail.com> wrote:> 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)?Yes, "i1 1" is signed-less-than "i1 0". -- Sanjoy