llvm-project/llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx

14 lines
196 B
Plaintext

; 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
}