llvm-6502/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
2006-12-02 04:23:10 +00:00

14 lines
211 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | 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
}