mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
170a0f7d6b
llvm-svn: 21735
17 lines
288 B
LLVM
17 lines
288 B
LLVM
; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep tail
|
|
|
|
implementation
|
|
|
|
declare void %bar(int*)
|
|
|
|
internal void %foo(int* %P) { ;; to be inlined
|
|
tail call void %bar(int* %P)
|
|
ret void
|
|
}
|
|
|
|
void %caller() {
|
|
%A = alloca int
|
|
call void %foo(int* %A) ;; not a tail call
|
|
ret void
|
|
}
|