diff options
Diffstat (limited to 'test/CodeGen/X86/2002-12-23-SubProblem.llx')
-rw-r--r-- | test/CodeGen/X86/2002-12-23-SubProblem.llx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/2002-12-23-SubProblem.llx b/test/CodeGen/X86/2002-12-23-SubProblem.llx index 3d89378..68200ff 100644 --- a/test/CodeGen/X86/2002-12-23-SubProblem.llx +++ b/test/CodeGen/X86/2002-12-23-SubProblem.llx @@ -1,7 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -regalloc=simple +; RUN: llvm-as < %s | llc -march=x86 -regalloc=simple -int %main(int %B) { - ;%B = add int 0, 1 - %R = sub int %B, 1 ; %r = 0 - ret int %R +define i32 @main(i32 %B) { + ;%B = add i32 0, 1; + %R = sub i32 %B, 1 ; %r = 0 + ret i32 %R } |