Try to make these tests more portable.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 20 Sep 2012 21:35:21 +0000 (21:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 20 Sep 2012 21:35:21 +0000 (21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164320 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/reg_sequence.ll
test/CodeGen/ARM/twoaddrinstr.ll
test/CodeGen/ARM/vbsl-constant.ll

index 92c0f0a18ce616d697aa5ff5e6c49a3068c51c44..206b96cd0766a9f30ea685c1f9de4ca5a478b04d 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s
-; RUN: llc < %s -march=arm -mcpu=cortex-a8 -regalloc=basic | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-ios -mcpu=cortex-a8 | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-ios -mcpu=cortex-a8 -regalloc=basic | FileCheck %s
 ; Implementing vld / vst as REG_SEQUENCE eliminates the extra vmov's.
 
 %struct.int16x8_t = type { <8 x i16> }
index 78202bf1855f6dc7c008d154e592bc5815c66033..fc2aa1e568e2e922df22bbca0ad2456e97fc7d8c 100644 (file)
@@ -12,10 +12,10 @@ define void @PR13378() nounwind {
 ; CHECK-NEXT:   vst1.32
 
 entry:
-  %0 = load <4 x float>* undef
-  store <4 x float> zeroinitializer, <4 x float>* undef
-  store <4 x float> %0, <4 x float>* undef
+  %0 = load <4 x float>* undef, align 4
+  store <4 x float> zeroinitializer, <4 x float>* undef, align 4
+  store <4 x float> %0, <4 x float>* undef, align 4
   %1 = insertelement <4 x float> %0, float 1.000000e+00, i32 3
-  store <4 x float> %1, <4 x float>* undef
+  store <4 x float> %1, <4 x float>* undef, align 4
   unreachable
 }
index 7542037527406bbedd1982346b360cf7ca58bbad..ffda0a51bdd0036828bf3f3e6290ae056517b750 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-ios -mattr=+neon | FileCheck %s
 
 define <8 x i8> @v_bsli8(<8 x i8>* %A, <8 x i8>* %B, <8 x i8>* %C) nounwind {
 ;CHECK: v_bsli8: