[llvm] r208340 - test: fix test on Windows

Saleem Abdulrasool compnerd at compnerd.org
Thu May 8 10:11:29 PDT 2014


Author: compnerd
Date: Thu May  8 12:11:29 2014
New Revision: 208340

URL: http://llvm.org/viewvc/llvm-project?rev=208340&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll

Modified: llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll?rev=208340&r1=208339&r2=208340&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll Thu May  8 12:11:29 2014
@@ -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
 }
 
-





More information about the llvm-commits mailing list