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
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git]
/
test
/
CodeGen
/
Blackfin
/
switch2.ll
blob
f0fe1a7c90c6dae6838fdc143caf2210144349ab
1
; RUN: llvm-as < %s | llc -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
}