You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
178 B
9 lines
178 B
8 months ago
|
; RUN: opt < %s -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
|
||
|
}
|