xref: /aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.vol.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=amdgcn -mcpu=bonaire -show-mc-encoding < %s | FileCheck -check-prefix=GCN -check-prefix=CI %s
2*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=amdgcn -mcpu=tonga -show-mc-encoding < %s | FileCheck -check-prefix=GCN -check-prefix=VI %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.amdgcn.buffer.wbinvl1.vol() #0
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; GCN-LABEL: {{^}}test_buffer_wbinvl1_vol:
7*9880d681SAndroid Build Coastguard Worker; GCN-NEXT: ; BB#0:
8*9880d681SAndroid Build Coastguard Worker; CI-NEXT: buffer_wbinvl1_vol ; encoding: [0x00,0x00,0xc0,0xe1,0x00,0x00,0x00,0x00]
9*9880d681SAndroid Build Coastguard Worker; VI-NEXT: buffer_wbinvl1_vol ; encoding: [0x00,0x00,0xfc,0xe0,0x00,0x00,0x00,0x00]
10*9880d681SAndroid Build Coastguard Worker; GCN-NEXT: s_endpgm
11*9880d681SAndroid Build Coastguard Workerdefine void @test_buffer_wbinvl1_vol() #0 {
12*9880d681SAndroid Build Coastguard Worker  call void @llvm.amdgcn.buffer.wbinvl1.vol()
13*9880d681SAndroid Build Coastguard Worker  ret void
14*9880d681SAndroid Build Coastguard Worker}
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Workerattributes #0 = { nounwind }
17