Skip to content

Commit

Permalink
Fix PatternMatch for WaveShuffleIndex
Browse files Browse the repository at this point in the history
For WaveShuffleIndex we need to make sure we set the subspan use for the lane as well as the value. This ultimately ensures later on in vISA that we set the users to NoMask
  • Loading branch information
paigeale authored and igcbot committed Aug 1, 2023
1 parent 8e5bd24 commit 0089b6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IGC/Compiler/CISACodeGen/PatternMatchPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4999,6 +4999,7 @@ namespace IGC
{
//only if helperLaneMode==1, we enable helper lane under some shuffleindex cases (not for all cases).
HandleSubspanUse(I.getArgOperand(0), IsSourceOfSample(&I));
HandleSubspanUse(I.getArgOperand(1), IsSourceOfSample(&I));
HandleSubspanUse(&I, IsSourceOfSample(&I));
}
return MatchSingleInstruction(I);
Expand Down

0 comments on commit 0089b6d

Please sign in to comment.