Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output |
2 | |||||
3 | implementation ; Functions: | ||||
4 | |||||
5 | int %reload() { | ||||
6 | reloadentry: | ||||
7 | br label %A | ||||
8 | A: | ||||
9 | call void %callee( ) | ||||
10 | ret int 0 | ||||
11 | } | ||||
12 | |||||
13 | internal void %callee() { | ||||
14 | entry: | ||||
15 | %X = alloca sbyte, uint 0 | ||||
16 | %Y = cast int 0 to uint | ||||
17 | %Z = alloca sbyte, uint %Y | ||||
18 | ret void | ||||
19 | } |