1 ; RUN: opt -S -instcombine < %s | FileCheck %s
3 define float @test1(float %x) nounwind readnone ssp {
4 %div = fdiv float %x, 0x3810000000000000
8 ; CHECK-NEXT: fmul float %x, 0x47D0000000000000
11 define float @test2(float %x) nounwind readnone ssp {
12 %div = fdiv float %x, 0x47E0000000000000
16 ; CHECK-NEXT: fdiv float %x, 0x47E0000000000000
19 define float @test3(float %x) nounwind readnone ssp {
20 %div = fdiv float %x, 0x36A0000000000000
24 ; CHECK-NEXT: fdiv float %x, 0x36A0000000000000