is it valid to compare between i1 value?

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