================
@@ -2921,6 +2920,15 @@ bool SPIRVInstructionSelector::selectWaveReduce(
   return true;
 }
 
+bool SPIRVInstructionSelector::selectWaveReduceOp(Register ResVReg,
----------------
KungFuDonkey wrote:

I will keep it like this. In the future we will have BitAnd, BitXor and 
probably some other reduction operations that can use the same function. Also, 
on every other PR there were questions about making these functions more 
generic, which is why I chose for this solution.

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

Reply via email to