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 | cfab3da46e1e8e9ed4fafa018e0d28bb5913dde2 (patch) | |
tree | fb23c878019caf961242d6922d065dfae51fb7ca /test/CodeGen/PowerPC/fnabs.ll | |
parent | 1459c5d8e1fe827a7e4b6d790452b4b64dade634 (diff) |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/fnabs.ll')
-rw-r--r-- | test/CodeGen/PowerPC/fnabs.ll | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/CodeGen/PowerPC/fnabs.ll b/test/CodeGen/PowerPC/fnabs.ll index 5d0ef5f66d2..b9517de28f9 100644 --- a/test/CodeGen/PowerPC/fnabs.ll +++ b/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 } + |