llvm-project/llvm/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll

11 lines
164 B
LLVM
Raw Normal View History

; RUN: opt < %s -mem2reg
2003-04-11 03:21:07 +08:00
2008-03-19 13:39:35 +08:00
define void @_Z3barv() {
%result = alloca i32 ; <i32*> [#uses=1]
2003-04-11 03:21:07 +08:00
ret void
2008-03-19 13:39:35 +08:00
; No predecessors!
store i32 0, i32* %result
2003-04-11 03:21:07 +08:00
ret void
}
2008-03-19 13:39:35 +08:00