Skip to content

Commit 22b79fb

Browse files
committed
remove debug code
1 parent 3e149ae commit 22b79fb

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/ConvertLayoutOpToLLVM.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ struct ConvertLayoutOpUsingLinearLayoutsConversion
3434
// from LoadStoreOpToLLVM.
3535
if (intel::hasSubgroup2DBlockEncoding(srcTensorTy) &&
3636
intel::hasDotDpasEncoding(dstTensorTy)) {
37-
// need to delete the op and do nothing
38-
llvm::errs() << "need to delete op " << op << "\n";
39-
// what if we just delete it
4037
rewriter.replaceOp(op, op.getSrc());
4138
return success();
4239
}

third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,6 @@ struct LoadOpConversion
14311431
auto dpasTensorType = hasSubgroup2DBlockEncoding(tensorType)
14321432
? getDpasTypeFromCVTOp(op.getResult())
14331433
: tensorType;
1434-
llvm::errs() << "using dpas tensor type: " << dpasTensorType << "\n";
14351434
DpasEncodingAttr dpasLayout = getDpasLayout(dpasTensorType);
14361435

14371436
DpasEncodingAttr::OpIdx opIdx = getOpIdx(dpasTensorType);
@@ -1644,7 +1643,6 @@ struct LoadOpConversion
16441643
// input operands to DPAS.
16451644
// TODO: add support for int4 and int2.
16461645
unsigned opsPerChannel = dpasLayout.getOpsPerChannel();
1647-
llvm::errs() << "opsPerChannel = " << opsPerChannel << "\n";
16481646
if ((opsPerChannel == 4 && elemSizeInBits == 8) ||
16491647
(opsPerChannel == 2 && elemSizeInBits == 16) ||
16501648
(opsPerChannel == 1 && elemSizeInBits == 32)) {
@@ -1868,8 +1866,6 @@ struct LoadOpConversion
18681866
unsigned numValuesPerLoad = packedElemsPerLanePerDPASInst *
18691867
numOperandsOuterDimPerLoad *
18701868
numOperandsInnerDimPerLoad;
1871-
llvm::errs() << "num values per load = " << numValuesPerLoad << "\n";
1872-
llvm::errs() << "loadResultElemType = " << loadResultElemType << "\n";
18731869
Type load2DGenXType =
18741870
LLVM::getVectorType(loadResultElemType, numValuesPerLoad);
18751871

@@ -2217,8 +2213,6 @@ struct LoadOpConversion
22172213
}
22182214

22192215
Type llvmResultStructTy = typeConverter->convertType(op.getType());
2220-
llvm::errs() << "op.getType() " << op.getType() << "\n";
2221-
llvm::errs() << "llvmResultStructTy: " << llvmResultStructTy << "\n";
22222216
Value resultStruct = packLLElements(loc, typeConverter, unpackedLoadedVals,
22232217
rewriter, llvmResultStructTy);
22242218
rewriter.replaceOp(op, {resultStruct});

0 commit comments

Comments
 (0)