[llvm] [AMDGPU] IGLP: Fixes for VMEM load detection and unsigned int handling (PR #135090)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 04:22:12 PDT 2025


================
@@ -80,6 +80,10 @@ enum class SchedGroupMask {
   LLVM_MARK_AS_BITMASK_ENUM(/* LargestFlag = */ ALL)
 };
 
+static bool handleAsVMEMInstr(const MachineInstr &MI, const SIInstrInfo *TII) {
+  return TII->isVMEM(MI) || (TII->isFLAT(MI) && !TII->isDS(MI));
----------------
arsenm wrote:

I don't understand this condition. isVMEM should cover it. There should also be no instructions that are flat and DS 

https://github.com/llvm/llvm-project/pull/135090


More information about the llvm-commits mailing list