mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
3e054fe9ef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
222 B
LLVM
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
|
|
}
|