2015-09-25 03:52:21 +08:00
|
|
|
; RUN: llc -march=amdgcn -mcpu=tahiti -show-mc-encoding < %s | FileCheck -check-prefix=SI %s
|
|
|
|
|
|
|
|
declare void @llvm.amdgcn.buffer.wbinvl1.sc() #0
|
|
|
|
|
|
|
|
; SI-LABEL: {{^}}test_buffer_wbinvl1_sc:
|
2017-12-05 01:18:51 +08:00
|
|
|
; SI-NEXT: ; %bb.0:
|
2015-09-25 03:52:21 +08:00
|
|
|
; SI-NEXT: buffer_wbinvl1_sc ; encoding: [0x00,0x00,0xc0,0xe1,0x00,0x00,0x00,0x00]
|
|
|
|
; SI-NEXT: s_endpgm
|
2017-03-22 05:39:51 +08:00
|
|
|
define amdgpu_kernel void @test_buffer_wbinvl1_sc() #0 {
|
2015-09-25 03:52:21 +08:00
|
|
|
call void @llvm.amdgcn.buffer.wbinvl1.sc()
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
attributes #0 = { nounwind }
|