Fix ARM bswap16.ll test on Windows
authorLouis Gerbarg <lgg@apple.com>
Mon, 12 May 2014 22:13:07 +0000 (22:13 +0000)
committerLouis Gerbarg <lgg@apple.com>
Mon, 12 May 2014 22:13:07 +0000 (22:13 +0000)
Windows on ARM only supports thumb mode execution, so we have to
explicitly pick some non-Windows OS to test ARM mode codegen.

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

test/CodeGen/ARM/bswap16.ll

index 29cec4f1121e34de9a6876abe223c0b366dcd20a..70c62d294eecfa37cab87ef371ecf0ac4dec26c8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=arm  -mattr=v6 < %s | FileCheck %s
-; RUN: llc -march=thumb  -mattr=v6 < %s | FileCheck %s
+; RUN: llc -mtriple=arm-darwin  -mattr=v6 < %s | FileCheck %s
+; RUN: llc -mtriple=thumb-darwin  -mattr=v6 < %s | FileCheck %s
 
 
 define void @test1(i16* nocapture %data) {