projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean up the tablegen descriptions for SparcV8.
[oota-llvm.git]
/
test
/
Feature
/
testswitch.ll
1
%int = type int
2
3
implementation
4
5
int "squared"(%int %i0)
6
begin
7
switch int %i0, label %Default [
8
int 1, label %Case1
9
int 2, label %Case2
10
int 4, label %Case4 ]
11
12
Default:
13
ret int -1 ; Unrecognized input value
14
15
Case1:
16
ret int 1
17
Case2:
18
ret int 4
19
Case4:
20
ret int 16
21
end