File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -765,9 +765,7 @@ void CodeGen::inst_RV_SH(
765
765
// logic for determining what "kind" of operand "op" is.
766
766
//
767
767
// Arguments:
768
- // op - The operand node for which to obtain the descriptor
769
- // instOptions - The optional parameter to track if embedded broadcast is enabled
770
- // simdBaseType - The base data type of the emitting instruction.
768
+ // op - The operand node for which to obtain the descriptor.
771
769
//
772
770
// Return Value:
773
771
// The operand descriptor for "op".
@@ -857,12 +855,12 @@ CodeGen::OperandDesc CodeGen::genOperandDesc(GenTree* op)
857
855
// In the codes below, we specially handle the `Broadcast -> CNS_INT` form and
858
856
// handle other cases recursively.
859
857
GenTree* hwintrinsicChild = hwintrinsic->Op (1 );
858
+ assert (hwintrinsicChild->isContained ());
860
859
if (hwintrinsicChild->OperIs (GT_CNS_INT))
861
860
{
862
861
// a special case is when the operand of CreateScalarUnsafe is in integer type,
863
862
// CreateScalarUnsafe node will be fold, so we directly match a pattern of
864
863
// broadcast -> LCL_VAR(TYP_(U)INT)
865
- assert (hwintrinsicChild->isContained ());
866
864
ssize_t scalarValue = hwintrinsicChild->AsIntCon ()->IconValue ();
867
865
UNATIVE_OFFSET cnum = emit->emitDataConst (&scalarValue, genTypeSize (simdBaseType),
868
866
genTypeSize (simdBaseType), simdBaseType);
You can’t perform that action at this time.
0 commit comments