diff options
Diffstat (limited to 'llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll b/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll index 2e87a7d7802..df779d53f6c 100644 --- a/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll +++ b/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll @@ -198,14 +198,6 @@ define i1 @i32_cast_cmp_ole_int_0_sitofp(i32 %i) { ret i1 %cmp } -; CHECK-LABEL: @i32_cast_cmp_olt_int_0_uitofp( -; CHECK: ret i1 false -define i1 @i32_cast_cmp_olt_int_0_uitofp(i32 %i) { - %f = uitofp i32 %i to float - %cmp = fcmp olt float %f, 0.0 - ret i1 %cmp -} - ; CHECK-LABEL: @i32_cast_cmp_olt_int_0_sitofp( ; CHECK: icmp slt i32 %i, 0 ; CHECK-NEXT: ret @@ -339,16 +331,6 @@ define i1 @i32_cast_cmp_oeq_int_i32umax_sitofp(i32 %i) { ret i1 %cmp } -; CHECK-LABEL: @i32_cast_cmp_oeq_int_i32imin_uitofp( -; CHECK: uitofp -; CHECK: fcmp oeq -; CHECK-NEXT: ret -define i1 @i32_cast_cmp_oeq_int_i32imin_uitofp(i32 %i) { - %f = uitofp i32 %i to float - %cmp = fcmp oeq float %f, 0xC1E0000000000000 - ret i1 %cmp -} - ; CHECK-LABEL: @i32_cast_cmp_oeq_int_i32imin_sitofp( ; CHECK: sitofp ; CHECK: fcmp oeq @@ -379,16 +361,6 @@ define i1 @i32_cast_cmp_oeq_int_i32imax_sitofp(i32 %i) { ret i1 %cmp } -; CHECK-LABEL: @i32_cast_cmp_oeq_int_negi32umax_uitofp( -; CHECK: uitofp -; CHECK: fcmp oeq -; CHECK-NEXT: ret -define i1 @i32_cast_cmp_oeq_int_negi32umax_uitofp(i32 %i) { - %f = uitofp i32 %i to float - %cmp = fcmp oeq float %f, 0xC1F0000000000000 - ret i1 %cmp -} - ; 32-bit signed integer cannot possibly round to -1<<32 ; CHECK-LABEL: @i32_cast_cmp_oeq_int_negi32umax_sitofp( ; CHECK-NEXT: ret i1 false |

