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