summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fsqrt.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 21:17:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 21:17:45 +0000
commit297657d6e6a85b3d4ef03f368055bf55c18e1500 (patch)
tree6fa6c0290168f8219f3d7a360f19cafd653d9489 /llvm/test/CodeGen/PowerPC/fsqrt.ll
parentff8169f5cb4b5a3caa106bef61764ba4398d690d (diff)
downloadbcm5719-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.ll16
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) {
OpenPOWER on IntegriCloud