• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: asserts
2; XFAIL: *
3; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
4
5
6define void @test(i32 addrspace(1)* %g, i8 addrspace(3)* %l, i32 %x) nounwind {
7; CHECK-LABEL: @test:
8
9entry:
10  switch i32 %x, label %sw.default [
11    i32 0, label %sw.bb
12    i32 60, label %sw.bb
13  ]
14
15sw.bb:
16  unreachable
17
18sw.default:
19  unreachable
20
21sw.epilog:
22  ret void
23}
24
25