Fix ARM intrinsics-overflow.ll test on Windows
authorReid Kleckner <reid@kleckner.net>
Fri, 9 May 2014 21:52:48 +0000 (21:52 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 9 May 2014 21:52:48 +0000 (21:52 +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@208448 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/intrinsics-overflow.ll

index c414add59f97743e5ce98aa2e2e473e50b25f175..af3dd9dd4117fe2348b4666251fcb06bd2956e15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=arm -mcpu=generic | FileCheck %s
+; RUN: llc < %s -mtriple=arm-linux -mcpu=generic | FileCheck %s
 
 define i32 @uadd_overflow(i32 %a, i32 %b) #0 {
   %sadd = tail call { i32, i1 } @llvm.uadd.with.overflow.i32(i32 %a, i32 %b)