mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
eccd57d118
llvm-svn: 53715
9 lines
195 B
LLVM
9 lines
195 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub
|
|
; PR2553
|
|
|
|
define double @test(double %X) nounwind {
|
|
; fsub of self can't be optimized away.
|
|
%Y = sub double %X, %X
|
|
ret double %Y
|
|
}
|