llvm.org GIT mirror llvm / 9727555 test / Transforms / TailCallElim / return-undef.ll
9727555

Tree @9727555 (Download .tar.gz)

return-undef.ll @9727555raw · history · blame

1
2
3
4
5
6
7
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
}