summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-22 18:57:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-22 18:57:39 +0000
commit8a67cdc5eb486d5996adec0e745d37da9ef5a1bb (patch)
treeab156304d883093197ed5e449d8c6a024a4e5330 /test/CodeGen/ARM
parent639bebb83ad0b564d9f5327b743b29769aaf7cd0 (diff)
downloadllvm-8a67cdc5eb486d5996adec0e745d37da9ef5a1bb.tar.gz
llvm-8a67cdc5eb486d5996adec0e745d37da9ef5a1bb.tar.bz2
llvm-8a67cdc5eb486d5996adec0e745d37da9ef5a1bb.tar.xz
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/insn-sched1.ll3
-rw-r--r--test/CodeGen/ARM/ldm.ll2
2 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/insn-sched1.ll b/test/CodeGen/ARM/insn-sched1.ll
index 1e4135b308..5c9a28a1d7 100644
--- a/test/CodeGen/ARM/insn-sched1.ll
+++ b/test/CodeGen/ARM/insn-sched1.ll
@@ -1,6 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6 | grep mov | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin -mattr=+v6 | grep mov | wc -l | grep 2
int %test(int %x) {
%tmp = cast int %x to short
diff --git a/test/CodeGen/ARM/ldm.ll b/test/CodeGen/ARM/ldm.ll
index 5695eeeda6..4a75da8b03 100644
--- a/test/CodeGen/ARM/ldm.ll
+++ b/test/CodeGen/ARM/ldm.ll
@@ -1,7 +1,7 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmia" | wc -l | grep 2 &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmib" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmfd sp\!" | wc -l | grep 3
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep "ldmfd sp\!" | wc -l | grep 3
%X = external global [0 x int]