projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Duplicated node may produce a non-physical register def.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
extern_weak.ll
1
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep weak_reference | count 2
2
3
@Y = global i32 (i8*)* @X ; <i32 (i8*)**> [#uses=0]
4
5
declare extern_weak i32 @X(i8*)
6
7
define void @bar() {
8
tail call void (...)* @foo( )
9
ret void
10
}
11
12
declare extern_weak void @foo(...)
13