xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2003-08-23-DeadBlockTest.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=x86
2
3define 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
11}
12
13