repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
CodeGen
/
Blackfin
/
switch.ll
blob
3680ec6e554bd5e698179c16bb85e706dcf2c3b5
1
; RUN: llc < %s -march=bfin -verify-machineinstrs > %t
2
3
define i32 @foo(i32 %A, i32 %B, i32 %C) {
4
entry:
5
switch i32 %A, label %out [
6
i32 1, label %bb
7
i32 0, label %bb13
8
]
9
10
bb: ; preds = %entry
11
ret i32 1
12
13
bb13: ; preds = %entry
14
ret i32 1
15
16
out: ; preds = %entry
17
ret i32 0
18
}