diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 04:23:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-02 04:23:10 +0000 |
commit | 69ccadd7535a83b348595cf603126e6a68b2883b (patch) | |
tree | b7bd0dcf1c3042a7f4bbbbb4854ececda37568ba /test/CodeGen/PowerPC/fsqrt.ll | |
parent | a50d5962edbf9606a9a7636d845be9f980c28b87 (diff) | |
download | llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.gz llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.bz2 llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.xz |
Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/fsqrt.ll')
-rw-r--r-- | test/CodeGen/PowerPC/fsqrt.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/fsqrt.ll b/test/CodeGen/PowerPC/fsqrt.ll index 29eed4edac..87eaebbf0b 100644 --- a/test/CodeGen/PowerPC/fsqrt.ll +++ b/test/CodeGen/PowerPC/fsqrt.ll @@ -1,10 +1,10 @@ ; fsqrt should be generated when the fsqrt feature is enabled, but not ; otherwise. -; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+fsqrt | grep 'fsqrt f1, f1' && -; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'fsqrt f1, f1' && -; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-fsqrt | not grep 'fsqrt f1, f1' && -; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | not grep 'fsqrt f1, f1' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=+fsqrt | grep 'fsqrt f1, f1' && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'fsqrt f1, f1' && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-fsqrt | not grep 'fsqrt f1, f1' && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g4 | not grep 'fsqrt f1, f1' declare double %llvm.sqrt(double) double %X(double %Y) { |