[Mlir-commits] [mlir] [mlir] AMDGPUToROCDL: lower `amdgpu.swizzle_bitmode` (PR #136223)
Stanley Winata
llvmlistbot at llvm.org
Thu Apr 17 18:45:17 PDT 2025
================
@@ -1377,6 +1377,38 @@ struct AMDGPUDPPLowering : public ConvertOpToLLVMPattern<DPPOp> {
}
};
+struct AMDGPUSwizzleBitModeLowering
+ : public ConvertOpToLLVMPattern<SwizzleBitModeOp> {
----------------
raikonenfnu wrote:
unrelated to this PR, but I think it'd be more intuitive if the op name is`dsSwizzleOp`, and we can have the QDMode and the BitMode as a attribute of this op. Additionally we can also reference https://gpuopen.com/learn/amd-gcn-assembly-cross-lane-operations. :)
https://github.com/llvm/llvm-project/pull/136223
More information about the Mlir-commits
mailing list