mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-17 03:07:06 +00:00
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
|
||
|
}
|