[llvm] [AMDGPU] Extend type support for update_dpp intrinsic (PR #114597)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 15:51:07 PST 2024
================
@@ -5514,15 +5521,22 @@ bool AMDGPULegalizerInfo::legalizeLaneOp(LegalizerHelper &Helper,
LLT Ty = MRI.getType(DstReg);
unsigned Size = Ty.getSizeInBits();
- if (Size == 32) {
+ unsigned SplitSize =
+ (IID == Intrinsic::amdgcn_update_dpp && (Size % 64 == 0) &&
+ ST.hasDPALU_DPP() &&
+ AMDGPU::isLegalDPALU_DPPControl(MI.getOperand(4).getImm()))
+ ? 64
+ : 32;
----------------
rampitec wrote:
Changed
https://github.com/llvm/llvm-project/pull/114597
More information about the llvm-commits
mailing list