[llvm] 8c84b3c - [AMDGPU][NFC] Add missing isFLAT check to isVMEM. (#186321)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 13 06:19:03 PDT 2026
Author: sstipano
Date: 2026-03-13T14:18:58+01:00
New Revision: 8c84b3c4e28a2756f52295f21ef67e97bae000a1
URL: https://github.com/llvm/llvm-project/commit/8c84b3c4e28a2756f52295f21ef67e97bae000a1
DIFF: https://github.com/llvm/llvm-project/commit/8c84b3c4e28a2756f52295f21ef67e97bae000a1.diff
LOG: [AMDGPU][NFC] Add missing isFLAT check to isVMEM. (#186321)
This was missed in #137148
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInstrInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
index f363560784730..87d51ffe83663 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h
@@ -491,7 +491,8 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
}
bool isVMEM(uint32_t Opcode) const {
- return isMUBUF(Opcode) || isMTBUF(Opcode) || isImage(Opcode);
+ return isMUBUF(Opcode) || isMTBUF(Opcode) || isImage(Opcode) ||
+ isFLAT(Opcode);
}
static bool isSOP1(const MachineInstr &MI) {
More information about the llvm-commits
mailing list