[Mlir-commits] [mlir] [mlir][sparse] optimize memory load to SSA value when generating spar… (PR #74750)
Yinying Li
llvmlistbot at llvm.org
Thu Dec 7 11:28:08 PST 2023
================
@@ -1924,12 +1916,13 @@ void LoopEmitter::genResolvedSliceBegin(OpBuilder &builder, Location loc,
pHi = genIndexLoad(builder, loc, positionsBuffers[tid][lvl],
ADDI(posits[tid][lvl - 1], c1));
}
- // Fills out pIdxBuffer[tid][lvl][0] with [/*memSize =*/4, 0, pLo, pHi]
- updateSlicePosTupleNum(builder, loc, c1, sPtrBuf);
+ // Fills out pIdxBuffer[tid][lvl][0] with [0, pLo, pHi]
----------------
yinying-lisa-li wrote:
nit: extra space
https://github.com/llvm/llvm-project/pull/74750
More information about the Mlir-commits
mailing list