================
@@ -5212,6 +5217,74 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr
&MI,
.addReg(NewAccumulator->getOperand(0).getReg());
break;
}
+ case AMDGPU::S_ADD_U64_PSEUDO:
+ case AMDGPU::S_SUB_U64_PSEUDO: {
+ Register DestSub0 =
MRI.createVirtualRegister(&AMDGPU::SReg_32RegClass);
----------------
arsenm wrote:
My point was don't duplicate code. Call a common helper function to expand the
64-bit add
https://github.com/llvm/llvm-project/pull/151309
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits