repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-exegesis][NFC] Pass Instruction instead of bare Opcode
[llvm-core.git]
/
test
/
Linker
/
linkmdnode.ll
blob
2469c29d43e4701705c0198586e4cda45f6d73e9
1
; RUN: llvm-as < %s > %t.bc
2
; RUN: llvm-as < %p/linkmdnode2.ll > %t2.bc
3
; RUN: llvm-link %t.bc %t2.bc
4
5
6
!21 = !{i32 42, !"foobar"}
7
8
declare i8 @llvm.something(metadata %a)
9
define void @foo() {
10
%x = call i8 @llvm.something(metadata !21)
11
ret void
12
}
13