Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / AMDGPU / llvm.amdgcn.buffer.wbinvl1.sc.ll
blobfe60d16d90f7aba7a8c61db900b801352fe81b57
1 ; RUN: llc -march=amdgcn -mcpu=tahiti -show-mc-encoding < %s | FileCheck -check-prefix=SI %s
3 declare void @llvm.amdgcn.buffer.wbinvl1.sc() #0
5 ; SI-LABEL: {{^}}test_buffer_wbinvl1_sc:
6 ; SI-NEXT: ; BB#0:
7 ; SI-NEXT: buffer_wbinvl1_sc ; encoding: [0x00,0x00,0xc0,0xe1,0x00,0x00,0x00,0x00]
8 ; SI-NEXT: s_endpgm
9 define amdgpu_kernel void @test_buffer_wbinvl1_sc() #0 {
10   call void @llvm.amdgcn.buffer.wbinvl1.sc()
11   ret void
14 attributes #0 = { nounwind }