From 1633f752f88640cd378c8bf772a81df2f246ef34 Mon Sep 17 00:00:00 2001 From: Louis Gerbarg Date: Mon, 12 May 2014 22:13:07 +0000 Subject: [PATCH] Fix ARM bswap16.ll test on Windows 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/ARM/bswap16.ll b/test/CodeGen/ARM/bswap16.ll index 29cec4f1121..70c62d294ee 100644 --- a/test/CodeGen/ARM/bswap16.ll +++ b/test/CodeGen/ARM/bswap16.ll @@ -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) {