aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/fsub-fsub.ll
blob: 95d6087aa6c9e18f391af626e18ce78a05b5cd00 (plain)
1
2
3
4
5
6
7
8
; RUN: opt %s -instcombine | llvm-dis | grep fsub | count 2
; PR4374

define float @func(float %a, float %b) nounwind {
        %tmp3 = fsub float %a, %b
        %tmp4 = fsub float -0.000000e+00, %tmp3
        ret float %tmp4
}