blob: 9efbf09b42665b035965bba55fc471be646e0b97 [file] [log] [blame]
Misha Brukman14285c82003-09-15 20:02:53 +00001; RUN: llvm-as < %s | llc -march=x86
Chris Lattnerf3f062e2003-08-24 00:21:50 +00002
3implementation
4
Chris Lattnerc95f3b82004-07-02 05:43:51 +00005int %test() {
6entry: ret int 7
Chris Lattnerf3f062e2003-08-24 00:21:50 +00007Test: ; dead block!
Chris Lattnerc95f3b82004-07-02 05:43:51 +00008 %A = call int %test()
9 %B = call int %test()
10 %C = add int %A, %B
11 ret int %C
Chris Lattnerf3f062e2003-08-24 00:21:50 +000012}
13