================ @@ -2625,6 +2645,8 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg, return selectFmix(ResVReg, ResType, I); case Intrinsic::spv_length: return selectLength(ResVReg, ResType, I); + case Intrinsic::spv_degrees: + return selectDegrees(ResVReg, ResType, I); ---------------- spall wrote:
Assuming it does take 1 operand, can you use selectExtInst here instead of a custom function? 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