OSDN Git Service

test: fix test on Windows
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 8 May 2014 17:11:29 +0000 (17:11 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 8 May 2014 17:11:29 +0000 (17:11 +0000)
When building on Windows, the default target is Windows.  Windows on ARM does
not support ARM mode compilation, resulting in test failures.  Simply specify a
triple to ensure that we are testing the correct behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208340 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/func-argpassing-endian.ll

index 7c95752..b32b09b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=arm -mattr=v7,neon | FileCheck --check-prefix=CHECK --check-prefix=CHECK-LE %s
-; RUN: llc -verify-machineinstrs < %s -march=armeb -mattr=v7,neon | FileCheck --check-prefix=CHECK --check-prefix=CHECK-BE %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=arm-eabi -mattr=v7,neon | FileCheck --check-prefix=CHECK --check-prefix=CHECK-LE %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=armeb-eabi -mattr=v7,neon | FileCheck --check-prefix=CHECK --check-prefix=CHECK-BE %s
 
 @var32 = global i32 0
 @vardouble = global double 0.0
@@ -121,4 +121,3 @@ define void @caller_return_v2f64() {
     ret void
 }
 
-