[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for double types - 2 (PR #170812)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 27 22:53:21 PST 2026
================
@@ -5743,28 +5751,69 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr &MI,
break;
}
case AMDGPU::V_ADD_F32_e64:
- case AMDGPU::V_SUB_F32_e64: {
- Register ActiveLanesVreg =
- MRI.createVirtualRegister(&AMDGPU::VGPR_32RegClass);
- Register DstVreg = MRI.createVirtualRegister(&AMDGPU::VGPR_32RegClass);
+ case AMDGPU::V_ADD_F64_e64:
+ case AMDGPU::V_SUB_F32_e64:
+ case AMDGPU::WAVE_REDUCE_FSUB_PSEUDO_F64: {
----------------
easyonaadit wrote:
Right got it.
https://github.com/llvm/llvm-project/pull/170812
More information about the llvm-branch-commits
mailing list