Sign in
rust
/
rust-lang
/
llvm-project
/
refs/heads/rustc/18.0-2024-02-13
/
.
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-07-16-fsub.ll
blob: 2ace78854162e76daaad2f80fab8258bd4aea956 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=instcombine -S | grep sub
; PR2553
define
double
@test
(
double
%X
)
nounwind
{
; fsub of self can't be optimized away.
%Y
=
fsub
double
%X
,
%X
ret
double
%Y
}