search for: sdtil_genvecextract

Displaying 1 result from an estimated 1 matches for "sdtil_genvecextract".

2011 Mar 31
3
[LLVMdev] Assert in VerifySDNode
...like as follows: Op = DAG.getNode(AMDILISD::VEXTRACT, Op.getDebugLoc(), Op.getValueType(), Op.getOperand(0), DAG.getTargetConstant(dyn_cast<ConstantSDNode>(Op.getOperand(1)->getZExtValue() + 1), MVT::i32)); The custom backend instruction is defined as follows: def SDTIL_GenVecExtract : SDTypeProfile<1, 2, [ SDTCisEltOfVec<0, 1>, SDTCisVT<2, i32> ]>; def IL_vextract : SDNode<"AMDILISD::VEXTRACT", SDTIL_GenVecExtract>; defm VEXTRACT : VectorExtract<IL_vextract>; // Class that handles the various vector extract patterns mu...