mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
f9b0419cd8
it may round differently. This fixes PR4374. llvm-svn: 73243
9 lines
240 B
LLVM
9 lines
240 B
LLVM
; RUN: llvm-as < %s | opt -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
|
|
}
|