projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
R600: Fix extloads from i8 / i16 to i64.
[oota-llvm.git]
/
test
/
CodeGen
/
R600
/
si-annotate-cf-assertion.ll
1
; REQUIRES: asserts
2
; XFAIL: *
3
; RUN: llc -march=r600 -mcpu=SI -asm-verbose=false < %s | FileCheck %s
4
5
6
define void @test(i32 addrspace(1)* %g, i8 addrspace(3)* %l, i32 %x) nounwind {
7
; CHECK-LABEL: @test:
8
9
entry:
10
switch i32 %x, label %sw.default [
11
i32 0, label %sw.bb
12
i32 60, label %sw.bb
13
]
14
15
sw.bb:
16
unreachable
17
18
sw.default:
19
unreachable
20
21
sw.epilog:
22
ret void
23
}
24