From f37151a2fde32fe05eaeb9e88d8738e61a0e2eb8 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 8 May 2014 17:11:29 +0000 Subject: [PATCH] test: fix test on Windows 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/ARM/func-argpassing-endian.ll b/test/CodeGen/ARM/func-argpassing-endian.ll index 7c957525849..b32b09b962e 100644 --- a/test/CodeGen/ARM/func-argpassing-endian.ll +++ b/test/CodeGen/ARM/func-argpassing-endian.ll @@ -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 } - -- 2.34.1