[llvm] [AMDGPU] Classify FLAT instructions as VMEM (PR #137148)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 05:06:17 PDT 2025
================
@@ -2454,8 +2454,8 @@ bool SIInsertWaitcnts::isPreheaderToFlush(
}
bool SIInsertWaitcnts::isVMEMOrFlatVMEM(const MachineInstr &MI) const {
- return SIInstrInfo::isVMEM(MI) ||
- (SIInstrInfo::isFLAT(MI) && mayAccessVMEMThroughFlat(MI));
+ return (SIInstrInfo::isFLAT(MI) && mayAccessVMEMThroughFlat(MI)) ||
+ SIInstrInfo::isVMEM(MI);
----------------
ro-i wrote:
done. But are you sure it's a good idea to list the elements of isVMEM separately?
https://github.com/llvm/llvm-project/pull/137148
More information about the llvm-commits
mailing list