Skip to content

Commit e07d2a4

Browse files
iwwuigcbot
authored andcommitted
Remove RoundChunkSize assertion checks
These assertion checks are not applicable to non-LSC enabled platforms. The rounding is already in place for LSC case.
1 parent 4262034 commit e07d2a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,8 +883,6 @@ void ConstantCoalescing::MergeUniformLoad(Instruction *load, Value *bufIdxV, uin
883883
const uint32_t loadNumElements =
884884
loadDataTy->isVectorTy() ? int_cast<uint32_t>(cast<IGCLLVM::FixedVectorType>(loadDataTy)->getNumElements()) : 1;
885885
// VectorPreProcess pass legalizes loaded data size.
886-
IGC_ASSERT(loadNumElements == RoundChunkSize(loadNumElements));
887-
IGC_ASSERT(loadNumElements >= RoundChunkSize(maxEltPlus));
888886
if (!cov_chunk) {
889887
if (isDwordAligned) {
890888
cov_chunk = new BufChunk();

0 commit comments

Comments
 (0)