summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/fsqrt.ll
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-12-21 00:01:42 +0000
committerJim Laskey <jlaskey@mac.com>2006-12-21 00:01:42 +0000
commitbc9154641ba4a725624d98a0246c68864ca9e786 (patch)
tree727d85ad491416966170edab1f40366bc343183c /test/CodeGen/PowerPC/fsqrt.ll
parent2aa14aad985aac64076437cdf91ec5b54f07f011 (diff)
downloadllvm-bc9154641ba4a725624d98a0246c68864ca9e786.tar.gz
llvm-bc9154641ba4a725624d98a0246c68864ca9e786.tar.bz2
llvm-bc9154641ba4a725624d98a0246c68864ca9e786.tar.xz
These tests all rely on using register mnemonics and thus must behave in the
world of darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/fsqrt.ll')
-rw-r--r--test/CodeGen/PowerPC/fsqrt.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/fsqrt.ll b/test/CodeGen/PowerPC/fsqrt.ll
index 0e9238e722..1bccea34c9 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-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'
+; 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'
declare double %llvm.sqrt.f64(double)
double %X(double %Y) {