diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
commit | a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1 (patch) | |
tree | f0113c0d6322f1a5e9b495352342e8eedd08e04d /llvm/test/CodeGen/PowerPC/fnabs.ll | |
parent | a00c808d4050cece0dd328d614aa6d01b9824f8f (diff) | |
download | bcm5719-llvm-a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1.tar.gz bcm5719-llvm-a99d8b5a9a2c8cabdbbb11eb2f0c885573560ee1.zip |
Remove llvm-upgrade and update tests.
llvm-svn: 47325
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fnabs.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/fnabs.ll | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fnabs.ll b/llvm/test/CodeGen/PowerPC/fnabs.ll index 5d0ef5f66d2..b9517de28f9 100644 --- a/llvm/test/CodeGen/PowerPC/fnabs.ll +++ b/llvm/test/CodeGen/PowerPC/fnabs.ll @@ -1,11 +1,10 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fnabs +; RUN: llvm-as < %s | llc -march=ppc32 | grep fnabs -declare double %fabs(double) +declare double @fabs(double) -implementation - -double %test(double %X) { - %Y = call double %fabs(double %X) - %Z = sub double -0.0, %Y - ret double %Z +define double @test(double %X) { + %Y = call double @fabs( double %X ) ; <double> [#uses=1] + %Z = sub double -0.000000e+00, %Y ; <double> [#uses=1] + ret double %Z } + |