repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
Feature
/
unreachable.ll
blob
8bffb4c10e7fc5d0c8f5dede0a148f94a8ff762c
1
; RUN: llvm-as < %s | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
declare void @bar()
6
7
define i32 @foo() {
8
unreachable
9
}
10
11
define double @xyz() {
12
call void @bar( )
13
unreachable
14
}
15