repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
Blackfin
/
switch2.ll
blob
7877bce9c3721bac98866f2e4d41e119a326b5a6
1
; RUN: llc < %s -march=bfin -verify-machineinstrs > %t
2
3
define i8* @FindChar(i8* %CurPtr) {
4
entry:
5
br label %bb
6
7
bb: ; preds = %bb, %entry
8
%tmp = load i8* null ; <i8> [#uses=1]
9
switch i8 %tmp, label %bb [
10
i8 0, label %bb7
11
i8 120, label %bb7
12
]
13
14
bb7: ; preds = %bb, %bb
15
ret i8* null
16
}