diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 21:17:45 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 21:17:45 +0000 |
| commit | 297657d6e6a85b3d4ef03f368055bf55c18e1500 (patch) | |
| tree | 6fa6c0290168f8219f3d7a360f19cafd653d9489 /llvm/test/CodeGen/PowerPC/fsqrt.ll | |
| parent | ff8169f5cb4b5a3caa106bef61764ba4398d690d (diff) | |
| download | bcm5719-llvm-297657d6e6a85b3d4ef03f368055bf55c18e1500.tar.gz bcm5719-llvm-297657d6e6a85b3d4ef03f368055bf55c18e1500.zip | |
For PR1319: Upgrade to new test harness.
llvm-svn: 36087
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fsqrt.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/fsqrt.ll | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fsqrt.ll b/llvm/test/CodeGen/PowerPC/fsqrt.ll index 1bccea34c94..809077bd452 100644 --- a/llvm/test/CodeGen/PowerPC/fsqrt.ll +++ b/llvm/test/CodeGen/PowerPC/fsqrt.ll @@ -1,10 +1,18 @@ ; fsqrt should be generated when the fsqrt feature is enabled, but not ; otherwise. -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | grep 'fsqrt f1, f1' && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | grep 'fsqrt f1, f1' && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | not grep 'fsqrt f1, f1' && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g4 | not grep 'fsqrt f1, f1' +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | \ +; RUN: grep {fsqrt f1, f1} +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \ +; RUN: grep {fsqrt f1, f1} +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | \ +; RUN: not grep {fsqrt f1, f1} +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g4 | \ +; RUN: not grep {fsqrt f1, f1} declare double %llvm.sqrt.f64(double) double %X(double %Y) { |

