summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ifcvt7.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-09 13:42:32 +0000
committerDan Gohman <gohman@apple.com>2007-07-09 13:42:32 +0000
commit2a69a04afacca3efc6de9472745dc03287c7d84f (patch)
tree71b4d63e2e066afba2b3054166b630c8f115887f /test/CodeGen/ARM/ifcvt7.ll
parentb0954b158032c3a30ea1277755fbd90773ba4bb5 (diff)
Add explicit triples to these tests so that llc behaves as expected on
non-Apple hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/ifcvt7.ll')
-rw-r--r--test/CodeGen/ARM/ifcvt7.ll15
1 files changed, 11 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/ifcvt7.ll b/test/CodeGen/ARM/ifcvt7.ll
index 0654a5d516c..4816cea50fb 100644
--- a/test/CodeGen/ARM/ifcvt7.ll
+++ b/test/CodeGen/ARM/ifcvt7.ll
@@ -1,7 +1,14 @@
-; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion
-; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep cmpeq | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep moveq | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep ldmeq | wc -l | grep 1
+; RUN: llvm-as < %s | \
+; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
+; RUN: llvm-as < %s | \
+; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
+; RUN: grep cmpeq | wc -l | grep 1
+; RUN: llvm-as < %s | \
+; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
+; RUN: grep moveq | wc -l | grep 1
+; RUN: llvm-as < %s | \
+; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
+; RUN: grep ldmeq | wc -l | grep 1
; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }