repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add PR check to suggest alternatives to using undef (#118506)
[llvm-project.git]
/
llvm
/
test
/
ExecutionEngine
/
Orc
/
weak-comdat.ll
blob
4ebbfdf4aa35b0d6d894b26f0a95c203b602353d
1
; RUN: lli -extra-module %p/Inputs/weak-comdat-def.ll %s
2
; UNSUPPORTED: system-darwin
3
4
declare i32 @g()
5
6
$f = comdat nodeduplicate
7
8
define weak i32 @f() comdat {
9
entry:
10
%0 = call i32 @g()
11
ret i32 %0
12
}
13
14
define i32 @main() {
15
entry:
16
%0 = call i32 @f()
17
ret i32 %0
18
}