summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/big-endian-formal-args.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 19:02:01 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 19:02:01 +0000
commit14c76fed2d84cfa1f071c1a63101a6ba6db37034 (patch)
tree327b6405593f1f1c44f1371f1d1c86b69bcb4723 /test/CodeGen/PowerPC/big-endian-formal-args.ll
parentf695b3ad628625a1b1250c65716df1ee96b3d975 (diff)
downloadllvm-14c76fed2d84cfa1f071c1a63101a6ba6db37034.tar.gz
llvm-14c76fed2d84cfa1f071c1a63101a6ba6db37034.tar.bz2
llvm-14c76fed2d84cfa1f071c1a63101a6ba6db37034.tar.xz
FileCheckize and break dependence on coalescing order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/big-endian-formal-args.ll')
-rw-r--r--test/CodeGen/PowerPC/big-endian-formal-args.ll14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/CodeGen/PowerPC/big-endian-formal-args.ll b/test/CodeGen/PowerPC/big-endian-formal-args.ll
index e46e1ec8d7..318ccb0341 100644
--- a/test/CodeGen/PowerPC/big-endian-formal-args.ll
+++ b/test/CodeGen/PowerPC/big-endian-formal-args.ll
@@ -1,14 +1,12 @@
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN: grep {li 6, 3}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN: grep {li 4, 2}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN: grep {li 3, 0}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN: grep {mr 5, 3}
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
declare void @bar(i64 %x, i64 %y)
+; CHECK: li 4, 2
+; CHECK: li {{[53]}}, 0
+; CHECK: li 6, 3
+; CHECK: mr {{[53]}}, {{[53]}}
+
define void @foo() {
call void @bar(i64 2, i64 3)
ret void