summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/big-endian-formal-args.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-06 13:15:51 +0000
committerDan Gohman <gohman@apple.com>2007-07-06 13:15:51 +0000
commit89a3066356eb69c853cfb99b5c8a4b34b83e2854 (patch)
tree6e6b7baa4b679a68fb0b55a75ccde02058bdffb4 /test/CodeGen/PowerPC/big-endian-formal-args.ll
parentfccf0a2b25da833b115648e1dc10119444a924d5 (diff)
downloadllvm-89a3066356eb69c853cfb99b5c8a4b34b83e2854.tar.gz
llvm-89a3066356eb69c853cfb99b5c8a4b34b83e2854.tar.bz2
llvm-89a3066356eb69c853cfb99b5c8a4b34b83e2854.tar.xz
Add an explicit triple to the big-endian tests so that the assembly
output format is always consistent with what the greps are looking for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37943 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.ll12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/big-endian-formal-args.ll b/test/CodeGen/PowerPC/big-endian-formal-args.ll
index 1e19f5f3d7..08589f4999 100644
--- a/test/CodeGen/PowerPC/big-endian-formal-args.ll
+++ b/test/CodeGen/PowerPC/big-endian-formal-args.ll
@@ -1,7 +1,11 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 6, 3}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 4, 2}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 3, 0}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {mr 5, 3}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: grep {li 6, 3}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: grep {li 4, 2}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: grep {li 3, 0}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: grep {mr 5, 3}
declare void @bar(i64 %x, i64 %y)