summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/stfiwx.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/stfiwx.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/stfiwx.ll')
-rw-r--r--test/CodeGen/PowerPC/stfiwx.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/stfiwx.ll b/test/CodeGen/PowerPC/stfiwx.ll
index dc0bed8d52..6d15787471 100644
--- a/test/CodeGen/PowerPC/stfiwx.ll
+++ b/test/CodeGen/PowerPC/stfiwx.ll
@@ -1,7 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=stfiwx | grep stfiwx &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=stfiwx | not grep r1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-stfiwx | not grep stfiwx &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-stfiwx | grep r1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx | grep stfiwx &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx | not grep r1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx | not grep stfiwx &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx | grep r1
void %test(float %a, int* %b) {
%tmp.2 = cast float %a to int