Avoid the GRF file out of bound for SVM scatter read write operands

The GRF register + dst/src size of SVM scatter read/write operands may
be out of bound of GRF file.
This commit is contained in:
Cheng, Bu Qi
2024-06-27 23:02:41 +00:00
committed by igcbot
parent e9dc98c991
commit 4bbc4cf6ad
6 changed files with 121 additions and 0 deletions

View File

@ -76,6 +76,8 @@ private:
void localRAOptReport();
void markReferencesInOpnd(G4_Operand *opnd, bool isEOT,
INST_LIST_ITER inst_it, unsigned int pos);
void addOutOfBoundForbidden(G4_Declare *dcl, G4_Operand *opnd);
void markSpecialForbidden(INST_LIST_ITER inst_it);
void markReferencesInInst(INST_LIST_ITER inst_it);
void setLexicalID(bool includePseudo);
void markReferences(unsigned int &numRowsEOT, bool &lifetimeOpFound);