mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
b6fe525070
llvm-svn: 36076
18 lines
306 B
LLVM
18 lines
306 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep .weak.*f
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep .weak.*h
|
|
|
|
implementation ; Functions:
|
|
|
|
weak uint %f() {
|
|
entry:
|
|
unreachable
|
|
}
|
|
|
|
void %g() {
|
|
entry:
|
|
tail call void %h( )
|
|
ret void
|
|
}
|
|
|
|
declare extern_weak void %h()
|