2013-12-19 18:41:12 +08:00
|
|
|
; REQUIRES: asserts
|
2013-10-09 02:06:36 +08:00
|
|
|
; XFAIL: *
|
2014-04-30 07:12:53 +08:00
|
|
|
; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs-asm-verbose=false < %s | FileCheck %s
|
2013-10-09 02:06:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
define void @test(i32 addrspace(1)* %g, i8 addrspace(3)* %l, i32 %x) nounwind {
|
2014-10-02 01:15:17 +08:00
|
|
|
; CHECK-LABEL: {{^}}test:
|
2013-10-09 02:06:36 +08:00
|
|
|
|
|
|
|
entry:
|
|
|
|
switch i32 %x, label %sw.default [
|
|
|
|
i32 0, label %sw.bb
|
|
|
|
i32 60, label %sw.bb
|
|
|
|
]
|
|
|
|
|
|
|
|
sw.bb:
|
|
|
|
unreachable
|
|
|
|
|
|
|
|
sw.default:
|
|
|
|
unreachable
|
|
|
|
|
|
|
|
sw.epilog:
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|