Skip to content

Commit 921a405

Browse files
jgu222igcbot
authored andcommitted
Add rotate pattern
1 parent bc165be commit 921a405

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IGC/Compiler/CISACodeGen/PatternMatchPass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,7 @@ namespace IGC
846846
else if (I.getOpcode() == Instruction::Trunc)
847847
{
848848
match =
849+
MatchRotate(I) ||
849850
MatchModifier(I);
850851
}
851852
else
@@ -1023,6 +1024,7 @@ namespace IGC
10231024
case Instruction::Or:
10241025
match =
10251026
MatchBoolOp(I) ||
1027+
MatchRotate(I) ||
10261028
MatchLogicAlu(I);
10271029
break;
10281030
case Instruction::Xor:

0 commit comments

Comments
 (0)