llvm-6502/test/CodeGen/X86/2002-12-23-SubProblem.llx
2006-12-02 04:23:10 +00:00

8 lines
154 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -regalloc=simple
int %main(int %B) {
;%B = add int 0, 1
%R = sub int %B, 1 ; %r = 0
ret int %R
}