search for: ops0

Displaying 2 results from an estimated 2 matches for "ops0".

Did you mean: ops
2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
...->getNumValues() > 1 so this croaks. So I'm going to need a little help. Either 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 t...
2010 Feb 22
4
[LLVMdev] SelectionDAG legality: isel creating cycles
...dded the brackets on output to show which result is being linked to, so the prefetch takes the chain output from its controlling load. When llvm.x86.sse2.min.sd gets selected, the TableGen-generated code does this: SDNode *ResNode = CurDAG->SelectNodeTo(N.getNode(), Opc0, VT0, MVT::Other, Ops0, 6); 0x215f140: v2f64,ch = <<Unknown Machine Node>> 0x21606d0, 0x213ac00, 0x215ffa0, 0x215ea10, 0x215ee60, 0x213a720 [0] 0x21606d0: v2f64 = scalar_to_vector 0x213b8f0 [0] 0x213b8f0: f64,ch = load 0x213b780, 0x213aa90, 0x213b610 <0x2113690:0> alignment=8 [0] 0x213b780: ch...