repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-07-16-fsub.ll
blob
672b4e955262b562c8025a94828f13580b902279
1
; RUN: opt < %s -instcombine -S | grep sub
2
; PR2553
3
4
define double @test(double %X) nounwind {
5
; fsub of self can't be optimized away.
6
%Y = fsub double %X, %X
7
ret double %Y
8
}