mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
3e2245bd34
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24191 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
219 B
LLVM
9 lines
219 B
LLVM
; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep sub &&
|
|
; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
|
|
|
|
int %test(int %X) {
|
|
%Y = sub int %X, 1
|
|
%Z = call int %test(int %Y)
|
|
ret int undef
|
|
}
|