Skip to content

Commit 5beaf42

Browse files
committed
fallback to previous DS detection for IGLP
1 parent 5f3f7d2 commit 5beaf42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,15 +2432,15 @@ bool SchedGroup::canAddMI(const MachineInstr &MI) const {
24322432
Result = true;
24332433

24342434
else if (((SGMask & SchedGroupMask::DS) != SchedGroupMask::NONE) &&
2435-
(TII->isDS(MI) || TII->isLDSDMA(MI)))
2435+
TII->isDS(MI))
24362436
Result = true;
24372437

24382438
else if (((SGMask & SchedGroupMask::DS_READ) != SchedGroupMask::NONE) &&
2439-
MI.mayLoad() && (TII->isDS(MI) || TII->isLDSDMA(MI)))
2439+
MI.mayLoad() && TII->isDS(MI))
24402440
Result = true;
24412441

24422442
else if (((SGMask & SchedGroupMask::DS_WRITE) != SchedGroupMask::NONE) &&
2443-
MI.mayStore() && (TII->isDS(MI) || TII->isLDSDMA(MI)))
2443+
MI.mayStore() && TII->isDS(MI))
24442444
Result = true;
24452445

24462446
else if (((SGMask & SchedGroupMask::TRANS) != SchedGroupMask::NONE) &&

0 commit comments

Comments
 (0)