Skip to content

Commit fa0ea04

Browse files
committed
use dpas tensor type for packed load type (essentially
"post-conversion")
1 parent 3a39e40 commit fa0ea04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ struct LoadOpConversion
22112211
}
22122212
}
22132213

2214-
Type llvmResultStructTy = typeConverter->convertType(op.getType());
2214+
Type llvmResultStructTy = typeConverter->convertType(dpasTensorType);
22152215
LLVM_DEBUG(llvm::dbgs() << "Packing load result in struct "
22162216
<< llvmResultStructTy << "\n");
22172217
Value resultStruct = packLLElements(loc, typeConverter, unpackedLoadedVals,

0 commit comments

Comments
 (0)