xref: /aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=amdgcn -mcpu=tahiti -show-mc-encoding < %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
2*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=amdgcn -mcpu=fiji -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() #0
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; GCN-LABEL: {{^}}test_buffer_wbinvl1:
7*9880d681SAndroid Build Coastguard Worker; GCN-NEXT: ; BB#0:
8*9880d681SAndroid Build Coastguard Worker; SI-NEXT: buffer_wbinvl1 ; encoding: [0x00,0x00,0xc4,0xe1,0x00,0x00,0x00,0x00]
9*9880d681SAndroid Build Coastguard Worker; VI-NEXT: buffer_wbinvl1 ; encoding: [0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00]
10*9880d681SAndroid Build Coastguard Worker; GCN-NEXT: s_endpgm
11*9880d681SAndroid Build Coastguard Workerdefine void @test_buffer_wbinvl1() #0 {
12*9880d681SAndroid Build Coastguard Worker  call void @llvm.amdgcn.buffer.wbinvl1()
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