Skip to content

Commit 5a388a3

Browse files
authored
[XeGPUToXeVM] Clean up outdated vblocks calculation (#1083)
Removing commented code snippet that calculates xevm ops arguments
1 parent 3ad0633 commit 5a388a3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,6 @@ class LoadStorePrefetchNdToXeVMPattern : public OpConversionPattern<OpType> {
275275
auto tileW = tdescTy.getDimSize(1);
276276
auto tileH = tdescTy.getDimSize(0);
277277
int32_t vblocks = tdescTy.getArrayLength();
278-
// TODO: Why is vblocks calculated like this?
279-
// if (elemBitSize == 16) {
280-
// vblocks = (tileW + 16 - 1) / 16;
281-
// tileW = 16;
282-
// }
283-
284278
if constexpr (std::is_same_v<OpType, StoreNdOp>) {
285279
VectorType srcVecTy = cast<VectorType>(op.getValue().getType());
286280
auto l1 = translateStoreXeGPUCacheHint(op.getL1Hint());

0 commit comments

Comments
 (0)