Displaying 2 results from an estimated 2 matches for "spillval".
2012 Nov 24
2
[LLVMdev] Fwd: Prevention register promotion at the isel codegen phase
...This seems to work OK for me, though I'm no expert in such matters - perhaps someone more knowledgeable could comment?
>
> Given that operand OpNo of Node needs to be a load, this is the code snippet I used:
>
> // Now we know which node to spill, perform the spill.
> SDValue SpillVal = Node->getOperand(OpNo);
> SDValue SpillSlot = CurDAG->CreateStackTemporary(SpillVal.getValueType());
> int FI = cast<FrameIndexSDNode>(SpillSlot)->getIndex();
> SDValue Chain = CurDAG->getStore(CurDAG->getEntryNode(),
>...
2012 Nov 24
0
[LLVMdev] Fwd: Prevention register promotion at the isel codegen phase
...ms to work OK for me, though I'm no expert in such matters -
> perhaps someone more knowledgeable could comment?
>
> Given that operand OpNo of Node needs to be a load, this is the code
> snippet I used:
>
> // Now we know which node to spill, perform the spill.
> SDValue SpillVal = Node->getOperand(OpNo);
> SDValue SpillSlot = CurDAG->CreateStackTemporary(SpillVal.getValueType());
> int FI = cast<FrameIndexSDNode>(SpillSlot)->getIndex();
> SDValue Chain = CurDAG->getStore(CurDAG->getEntryNode(),
>...