We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4655e commit b6abc58Copy full SHA for b6abc58
visa/SpillManagerGMRF.h
@@ -904,15 +904,17 @@ inline bool isPartialContext (
904
bool isInSimdFlow
905
)
906
{
907
- if ((ctxt->getPredicate () != NULL && ctxt->opcode() != G4_sel) ||
908
- (isInSimdFlow == true &&
909
- ctxt->isWriteEnableInst() == false &&
910
- region->getElemSize() != 4 ) ) {
+ if (ctxt->isPartialWrite())
+ {
911
return true;
912
}
913
914
- if (ctxt->getDst()) {
915
- return false;
+ if (isInSimdFlow && !ctxt->isWriteEnableInst())
+ if (region->getElemSize() != 4)
916
+ return true;
917
+ }
918
919
920
return false;
0 commit comments