Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |
2 | |||||
3 | implementation | ||||
4 | |||||
5 | int %test() { | ||||
6 | entry: ret int 7 | ||||
7 | Test: ; dead block! | ||||
8 | %A = call int %test() | ||||
9 | %B = call int %test() | ||||
10 | %C = add int %A, %B | ||||
11 | ret int %C | ||||
12 | } | ||||
13 |