Fixed some bugs in register stack pass.
[llvm/zpu.git] / test / CodeGen / X86 / 2003-08-23-DeadBlockTest.ll
blob5c40eeaa1eade43e19604bc5433a2b2a20cd23bf
1 ; RUN: llc < %s -march=x86
3 define i32 @test() {
4 entry:
5         ret i32 7
6 Test:           ; 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