search for: chain10

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

Did you mean: chain1
2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
...her SelectionDAG::ReplaceAllUsesWith needs to be able to handle more complex things or tblgen needs to emit ReplaceUses after it generates the two MOVSD instructions. Perhaps something like this: SDOperand Ops0[] = { CPTmp0001, CPTmp1001, CPTmp2001, CPTmp3001, LSI_N00_Child0, LSI_N10_Child0, Chain10 }; SDOperand Tmp1(CurDAG->getTargetNode(Opc0, VT0, MVT::Other, Ops0, 7), 0); ReplaceUses(SDOperand(N00.Val, 0), Tmp1); I don't know if the parameters to that ReplaceUses call are correct, but I think you'll get the idea. The problem of course is that other patterns cause this kind...