• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=amdgcn -mcpu=bonaire -show-mc-encoding < %s | FileCheck -check-prefix=GCN -check-prefix=CI %s
2; RUN: llc -march=amdgcn -mcpu=tonga -show-mc-encoding < %s | FileCheck -check-prefix=GCN -check-prefix=VI %s
3
4declare void @llvm.amdgcn.buffer.wbinvl1.vol() #0
5
6; GCN-LABEL: {{^}}test_buffer_wbinvl1_vol:
7; GCN-NEXT: ; BB#0:
8; CI-NEXT: buffer_wbinvl1_vol ; encoding: [0x00,0x00,0xc0,0xe1,0x00,0x00,0x00,0x00]
9; VI-NEXT: buffer_wbinvl1_vol ; encoding: [0x00,0x00,0xfc,0xe0,0x00,0x00,0x00,0x00]
10; GCN-NEXT: s_endpgm
11define void @test_buffer_wbinvl1_vol() #0 {
12  call void @llvm.amdgcn.buffer.wbinvl1.vol()
13  ret void
14}
15
16attributes #0 = { nounwind }
17