1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll

11 lines
174 B
LLVM
Raw Normal View History

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