Skip to content

Commit

Permalink
[AMDGPU] Correct assert that incorrectly chained multiple == operator…
Browse files Browse the repository at this point in the history
…s. (llvm#70291)

Change-Id: I19593c4b93f4f3e1820e692a52d26e7e8866c5cf
  • Loading branch information
topperc authored and jrbyrnes committed Mar 13, 2024
1 parent dd8a974 commit f94d08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,8 @@ void MFMASmallGemmSingleWaveOpt::applyIGLPStrategy(
unsigned MFMACount = 0;
unsigned DSRCount = 0;

assert((IsPostRA ||
DSWCount == DSWWithPermCount == DSWWithSharedVMEMCount == 0) &&
assert((IsPostRA || (DSWCount == 0 && DSWWithPermCount == 0 &&
DSWWithSharedVMEMCount == 0)) &&
"DSWCounters should be zero in pre-RA scheduling!");
SmallVector<SUnit *, 6> DSWithPerms;
for (auto &SU : DAG->SUnits) {
Expand Down

0 comments on commit f94d08e

Please sign in to comment.