[llvm] [AMDGPU] Classify FLAT instructions as VMEM (PR #137148)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 03:13:46 PDT 2025
================
@@ -449,7 +449,9 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
}
static bool isVMEM(const MachineInstr &MI) {
- return isMUBUF(MI) || isMTBUF(MI) || isImage(MI);
+ if (isFLAT(MI))
+ assert(usesVM_CNT(MI) && "oh no");
----------------
arsenm wrote:
Leftover debug
https://github.com/llvm/llvm-project/pull/137148
More information about the llvm-commits
mailing list