blob: 5c40eeaa1eade43e19604bc5433a2b2a20cd23bf [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86
Chris Lattnerf3f062e2003-08-24 00:21:50 +00002
Tanya Lattner6f729d62008-03-25 04:26:08 +00003define i32 @test() {
4entry:
5 ret i32 7
6Test: ; No predecessors!
7 %A = call i32 @test( ) ; <i32> [#uses=1]
8 %B = call i32 @test( ) ; <i32> [#uses=1]
9 %C = add i32 %A, %B ; <i32> [#uses=1]
10 ret i32 %C
Chris Lattnerf3f062e2003-08-24 00:21:50 +000011}
12