Home | History | Annotate | Download | only in R600
      1 ; REQUIRES: asserts
      2 ; XFAIL: *
      3 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs-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 
     25