1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
llvm-mirror/test/Transforms/InstCombine/fsub-fsub.ll
2009-09-08 22:34:10 +00:00

9 lines
222 B
LLVM

; RUN: opt < %s -instcombine -S | 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
}