brintos

brintos / llvm-project-archived public Read only

0
0
Text · 468 B · 76b443b Raw
18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt -passes=instcombine -S < %s | FileCheck %s3; PR23594 5define i1 @f(ptr %x) {6; CHECK-LABEL: @f(7; CHECK-NEXT:  entry:8; CHECK-NEXT:    ret i1 false9;10entry:11  %tmp462 = load i8, ptr %x, align 1          ; <i8> [#uses=1]12  %tmp462463 = sitofp i8 %tmp462 to float         ; <float> [#uses=1]13  %tmp464 = fcmp ugt float %tmp462463, 0x47EFFFFFE0000000         ; <i1>14  ret i1 %tmp46415}16 17 18