llvm-mirror/test/Transforms/InstCombine/2008-07-16-fsub.ll
Dan Gohman 205b641954 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.

llvm-svn: 81537
2009-09-11 18:01:28 +00:00

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
}