Make the test target-neutral
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 16 Jun 2009 20:25:25 +0000 (20:25 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 16 Jun 2009 20:25:25 +0000 (20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73547 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/vargs2.ll

index 56169100fc79c6c7865cebffc79ff622ad3ebbc6..5cc86a95ba09ddb24cd09c164518259c11d7b538 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s | llc -march=thumb
-; RUN: llvm-as < %s | llc -march=thumb | \
-; RUN:   grep pop | count 1
+; RUN: llvm-as < %s | llc -mtriple=arm-linux -march=thumb | grep pop | count 1
+; RUN: llvm-as < %s | llc -mtriple=arm-darwin -march=thumb | grep pop | count 2
 
 @str = internal constant [4 x i8] c"%d\0A\00"           ; <[4 x i8]*> [#uses=1]