mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c812e5d6b8
commit
3e2245bd34
8
test/Transforms/TailCallElim/return-undef.ll
Normal file
8
test/Transforms/TailCallElim/return-undef.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user