64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
9 lines
178 B
LLVM
9 lines
178 B
LLVM
; 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
|
|
}
|