Skip to content

Commit 69f4c88

Browse files
bcheng0127sys_zuul
authored andcommitted
Changes in code.
Change-Id: I029f352efbdedd96b9dcda3af6c6cfe31cfb74cd
1 parent 83ce894 commit 69f4c88

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

visa/Gen4_IR.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8355,8 +8355,7 @@ bool G4_INST::isRMWCombinCandidate(G4_INST *next)
83558355
G4_Operand* nextDst = next->getDst();
83568356
//The current instruction must has Integer macro dst as well
83578357
if (nextDst &&
8358-
nextDst->isGen12IntegerMacroDst() &&
8359-
dst->getType() == nextDst->getType())
8358+
nextDst->isGen12IntegerMacroDst())
83608359
{
83618360

83628361
unsigned short lastLB = (unsigned short)dst->getLinearizedStart();

visa/Gen4_IR.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,10 +2334,7 @@ class G4_Operand
23342334
if (type == Type_UW ||
23352335
type == Type_W ||
23362336
type == Type_B ||
2337-
type == Type_UB ||
2338-
type == Type_D ||
2339-
type == Type_UD
2340-
)
2337+
type == Type_UB)
23412338
{
23422339
return true;
23432340
}

0 commit comments

Comments
 (0)