summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-17 03:14:27 +0000
committerChris Lattner <sabre@nondot.org>2011-06-17 03:14:27 +0000
commitb90ed2233c9fac46bac53de5833dd5e35db10acf (patch)
tree2efdd5ccb4d397789a8fa4a9413882084472fa0b /llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
parent033026ffc07ee0b7dd67c2b06259ce2be6051254 (diff)
downloadbcm5719-llvm-b90ed2233c9fac46bac53de5833dd5e35db10acf.tar.gz
bcm5719-llvm-b90ed2233c9fac46bac53de5833dd5e35db10acf.zip
manually upgrade a bunch of tests to modern syntax, and remove some that
are either unreduced or only test old syntax. llvm-svn: 133228
Diffstat (limited to 'llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll')
-rw-r--r--llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll b/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
index 234c7b69e3e..6b39a76d0d1 100644
--- a/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
+++ b/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll
@@ -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** 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)
OpenPOWER on IntegriCloud