search for: sdtciseltofvec

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

2011 Mar 31
3
[LLVMdev] Assert in VerifySDNode
...CT, 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 multiclass VectorExtract<SDNode OpNode> {...