[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / Thumb2 / 2009-08-04-SubregLoweringBug.ll
index 2bbc231f96227a8fb401ccc475af31f5b8e4b354..779e100d4197ec5a9b5982bc8534dffb06a3e10b 100644 (file)
@@ -1,4 +1,3 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8
 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8 | not grep fcpys
 ; rdar://7117307
 
@@ -8,12 +7,12 @@
        %struct.Results = type { float, float, float }
        %struct.Village = type { [4 x %struct.Village*], %struct.Village*, %struct.List, %struct.Hosp, i32, i32 }
 
-define arm_apcscc void @get_results(%struct.Results* noalias nocapture sret %agg.result, %struct.Village* %village) nounwind {
+define void @get_results(%struct.Results* noalias nocapture sret %agg.result, %struct.Village* %village) nounwind {
 entry:
        br i1 undef, label %bb, label %bb6.preheader
 
 bb6.preheader:         ; preds = %entry
-       call void @llvm.memcpy.i32(i8* undef, i8* undef, i32 12, i32 4)
+        call void @llvm.memcpy.p0i8.p0i8.i32(i8* undef, i8* undef, i32 12, i32 4, i1 false)
        br i1 undef, label %bb15, label %bb13
 
 bb:            ; preds = %entry
@@ -31,4 +30,4 @@ bb15:         ; preds = %bb13, %bb6.preheader
        ret void
 }
 
-declare void @llvm.memcpy.i32(i8* nocapture, i8* nocapture, i32, i32) nounwind
+declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind