; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sitofp define i1 @test1(i8 %A) { %B = sitofp i8 %A to double %C = fcmp ult double %B, 128.0 ret i1 %C ; True! } define i1 @test2(i8 %A) { %B = sitofp i8 %A to double %C = fcmp ugt double %B, -128.1 ret i1 %C ; True! } define i1 @test3(i8 %A) { %B = sitofp i8 %A to double %C = fcmp ule double %B, 127.0 ret i1 %C ; true! } define i1 @test4(i8 %A) { %B = sitofp i8 %A to double %C = fcmp ult double %B, 127.0 ret i1 %C ; A != 127 }