[ARM] Define subtarget feature "reserve-r9", which is used to decide
[oota-llvm.git] / test / CodeGen / ARM / 2008-04-04-ScavengerAssert.ll
index 610f5ea7cd05d3ba2d6df28b3927d992561c240f..4b1aa19ef067335c3f0247faae2a6f19d017a321 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin
+; RUN: llc < %s -mtriple=arm-apple-darwin
 
 @numBinsY = external global i32                ; <i32*> [#uses=1]
 
@@ -46,7 +46,8 @@ bb17.i:               ; preds = %cond_next119.i
 cond_true53.i:         ; preds = %bb17.i
        ret { i16, %struct.rnode* }* null
 cond_false99.i:                ; preds = %bb17.i
-       %tmp106.i = malloc %struct.ch_set               ; <%struct.ch_set*> [#uses=1]
+        %malloccall = tail call i8* @malloc(i32 trunc (i64 mul nuw (i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64), i64 2) to i32))
+        %tmp106.i = bitcast i8* %malloccall to %struct.ch_set*
        br i1 false, label %bb126.i, label %cond_next119.i
 cond_next119.i:                ; preds = %cond_false99.i, %bb42
        %curr_ptr.0.reg2mem.0.i = phi %struct.ch_set* [ %tmp106.i, %cond_false99.i ], [ null, %bb42 ]           ; <%struct.ch_set*> [#uses=2]
@@ -58,3 +59,5 @@ bb126.i:              ; preds = %cond_next119.i, %cond_false99.i
 bb78:          ; preds = %entry
        ret { i16, %struct.rnode* }* null
 }
+
+declare noalias i8* @malloc(i32)