blob: 3665483458cce3bc6e164961f1ca65bff4ea3110 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -mem2reg
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner97b38e12008-03-19 05:39:35 +00003define void @_Z3barv() {
4 %result = alloca i32 ; <i32*> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005 ret void
Tanya Lattner97b38e12008-03-19 05:39:35 +00006 ; No predecessors!
7 store i32 0, i32* %result
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008 ret void
9}
Tanya Lattner97b38e12008-03-19 05:39:35 +000010