We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe441e commit 2b03efcCopy full SHA for 2b03efc
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -197,8 +197,7 @@ static bool isNormalMode(InstCounterType MaxCounter) {
197
198
VmemType getVmemType(const MachineInstr &Inst) {
199
assert(updateVMCntOnly(Inst));
200
- if (!SIInstrInfo::isMIMG(Inst) && !SIInstrInfo::isVIMAGE(Inst) &&
201
- !SIInstrInfo::isVSAMPLE(Inst))
+ if (!SIInstrInfo::isImage(Inst))
202
return VMEM_NOSAMPLER;
203
const AMDGPU::MIMGInfo *Info = AMDGPU::getMIMGInfo(Inst.getOpcode());
204
const AMDGPU::MIMGBaseOpcodeInfo *BaseInfo =
0 commit comments