mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
4572ce85b0
llvm-svn: 33296
17 lines
303 B
LLVM
17 lines
303 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|