aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
blob: 9efbf09b42665b035965bba55fc471be646e0b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | llc -march=x86

implementation

int %test() {
entry:   ret int 7 
Test:   ; dead block!
	%A = call int %test()
	%B = call int %test()
	%C = add int %A, %B
    	ret int %C
}