brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · c567f6a Raw
19 lines · plain
1; NOTE: Assertions have been autogenerated by update_test_checks.py2; RUN: opt < %s -passes=instcombine -S | FileCheck %s3 4; PR15705 6define i32 @test2(float %X, float %Y) {7; CHECK-LABEL: @test2(8; CHECK-NEXT:    [[TMP3:%.*]] = fcmp ord float %X, %Y9; CHECK-NEXT:    [[TOBOOLNOT5:%.*]] = zext i1 [[TMP3]] to i3210; CHECK-NEXT:    ret i32 [[TOBOOLNOT5]]11;12  %tmp3 = fcmp uno float %X, %Y13  %tmp34 = zext i1 %tmp3 to i814  %tmp = xor i8 %tmp34, 115  %toBoolnot5 = zext i8 %tmp to i3216  ret i32 %toBoolnot517}18 19