1 ; RUN: opt -S -instcombine < %s | FileCheck %s 2 3 define float @test1(float %x) nounwind readnone ssp { 4 %div = fdiv float %x, 0x3810000000000000 5 ret float %div 6 7 ; CHECK: @test1 8 ; CHECK-NEXT: fmul float %x, 0x47D0000000000000 9 } 10 11 define float @test2(float %x) nounwind readnone ssp { 12 %div = fdiv float %x, 0x47E0000000000000 13 ret float %div 14 15 ; CHECK: @test2 16 ; CHECK-NEXT: fdiv float %x, 0x47E0000000000000 17 } 18 19 define float @test3(float %x) nounwind readnone ssp { 20 %div = fdiv float %x, 0x36A0000000000000 21 ret float %div 22 23 ; CHECK: @test3 24 ; CHECK-NEXT: fdiv float %x, 0x36A0000000000000 25 } 26