================
@@ -5973,8 +6026,11 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr 
&MI,
         BuildMI(*ComputeLoop, I, DL, TII->get(AMDGPU::V_MOV_B64_PSEUDO),
                 AccumulatorVReg)
             .addReg(Accumulator->getOperand(0).getReg());
+        unsigned Modifier = SISrcMods::NONE;
+        if (MI.getOpcode() == AMDGPU::WAVE_REDUCE_FSUB_PSEUDO_F64)
+          Modifier = SISrcMods::NEG;
----------------
arsenm wrote:

Initialize from ternary operator 

https://github.com/llvm/llvm-project/pull/170812
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to