[Mlir-commits] [mlir] [mlir][amdgpu] Add tensor load store operations (PR #170918)
Erick Ochoa Lopez
llvmlistbot at llvm.org
Tue Dec 9 06:47:28 PST 2025
================
@@ -2728,6 +2754,28 @@ struct ConvertAMDGPUToROCDLPass
Type i32 = IntegerType::get(type.getContext(), 32);
return converter.convertType(VectorType::get(4, i32));
});
+ converter.addConversion(
+ [&](TDMDescriptorType type,
+ SmallVectorImpl<Type> &result) -> std::optional<LogicalResult> {
+ Type i32 = IntegerType::get(type.getContext(), 32);
+ Type v4i32 = converter.convertType(VectorType::get(4, i32));
+ Type v8i32 = converter.convertType(VectorType::get(8, i32));
+ result.push_back(v4i32);
+ result.push_back(v8i32);
+ result.push_back(v4i32);
+ result.push_back(v4i32);
----------------
amd-eochoalo wrote:
Thanks! https://github.com/llvm/llvm-project/pull/170918/commits/3eaa7e10af06b0f62eb9f2f9e6bad83d9f295eee I've added this to my list of things to check before asking for review.
https://github.com/llvm/llvm-project/pull/170918
More information about the Mlir-commits
mailing list