[clang] [llvm] [HLSL] Implement the `degrees` intrinsic (PR #111209)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 4 16:18:15 PDT 2024
================
@@ -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);
----------------
spall wrote:
Doesn't degrees have 1 operand?
https://github.com/llvm/llvm-project/pull/111209
More information about the cfe-commits
mailing list