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 b2ea910 commit bffd6d2Copy full SHA for bffd6d2
IGC/Compiler/CISACodeGen/MemOpt.cpp
@@ -238,7 +238,8 @@ namespace {
238
else
239
accessSize = int64_t(DL->getTypeSizeInBits(acessInst->getOperand(0)->getType())) / 8;
240
mergedSize = cur_offset - firstOffset + accessSize;
241
- if (mergedSize > 4)
+ // limit the size of merge when alignment < 4
242
+ if (mergedSize > 8)
243
AccessIntrs.pop_back();
244
245
break;
0 commit comments