PrologueEpilogInserter: Fix missing live-ins when savepoint equals restorepoint
[oota-llvm.git] / test / CodeGen / Thumb2 / 2009-08-04-SubregLoweringBug3.ll
index 9f74e0a806f5ad7b4f0beca2b7ee36a93c9f6b13..66ed876f98e3eace56d5c15a5d38850c102e15d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mattr=+neon,+neonfp
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
 ; rdar://7117307
 
        %struct.Hosp = type { i32, i32, i32, %struct.List, %struct.List, %struct.List, %struct.List }
@@ -6,7 +6,7 @@
        %struct.Patient = type { i32, i32, i32, %struct.Village* }
        %struct.Village = type { [4 x %struct.Village*], %struct.Village*, %struct.List, %struct.Hosp, i32, i32 }
 
-define arm_apcscc %struct.List* @sim(%struct.Village* %village) nounwind {
+define %struct.List* @sim(%struct.Village* %village) nounwind {
 entry:
        br i1 undef, label %bb14, label %bb3.preheader
 
@@ -17,7 +17,7 @@ bb5:          ; preds = %bb5, %bb3.preheader
        br i1 undef, label %bb11, label %bb5
 
 bb11:          ; preds = %bb5
-       %0 = load i32* undef, align 4           ; <i32> [#uses=1]
+       %0 = load i32, i32* undef, align 4              ; <i32> [#uses=1]
        %1 = xor i32 %0, 123459876              ; <i32> [#uses=1]
        %2 = sdiv i32 %1, 127773                ; <i32> [#uses=1]
        %3 = mul i32 %2, 2836           ; <i32> [#uses=1]