Skip to content

Commit 30c4ba4

Browse files
jaladreipsigcbot
authored andcommitted
Fix an incorrect assert in AccSubstition
Fix an incorrect assert in AccSubstition
1 parent e27a21a commit 30c4ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/Passes/AccSubstitution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ void AccSubPass::multiAccSub(G4_BB *bb) {
13861386
// Skip as src1 could use acc.
13871387
if (U.second == Opnd_src1)
13881388
continue;
1389-
vISA_ASSERT(U.second = Opnd_src2, "Only src1 or src2 is expected.");
1389+
vISA_ASSERT(U.second == Opnd_src2, "Only src1 or src2 is expected.");
13901390
U.first->swapSrc(1, 2);
13911391
U.first->swapDefUse(Opnd_src1, Opnd_src2);
13921392
if (builder.getPlatform() == GENX_TGLLP) {

0 commit comments

Comments
 (0)