================
@@ -1643,6 +1646,23 @@ bool SPIRVInstructionSelector::selectLength(Register 
ResVReg,
       .constrainAllUses(TII, TRI, RBI);
 }
 
+bool SPIRVInstructionSelector::selectDegrees(Register ResVReg,
+                                             const SPIRVType *ResType,
+                                             MachineInstr &I) const {
+
+  assert(I.getNumOperands() == 3);
----------------
inbelic wrote:

Correct, but I believe the first 2 operands of the spir-v instruction are 
usually used for the `ReturnType` and the `Result` register.

https://github.com/llvm/llvm-project/pull/111209
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to