Displaying 3 results from an estimated 3 matches for "condrhs".
Did you mean:
condres
2009 May 21
0
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
On Wed, May 20, 2009 at 4:55 PM, Dan Gohman <gohman at apple.com> wrote:
> Can you explain why you chose the approach of using a new pass?
> I pictured removing LegalizeDAG's type legalization code would
> mostly consist of finding all the places that use TLI.getTypeAction
> and just deleting code for handling its Expand and Promote. Are you
> anticipating something more
2009 May 20
2
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
On May 20, 2009, at 1:34 PM, Eli Friedman wrote:
> On Wed, May 20, 2009 at 1:19 PM, Eli Friedman
> <eli.friedman at gmail.com> wrote:
>
>> Per subject, this patch adding an additional pass to handle vector
>>
>> operations; the idea is that this allows removing the code from
>>
>> LegalizeDAG that handles illegal types, which should be a significant
2009 May 21
2
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
...e a simple select with vector operands.
- Lo = DAG.getNode(Node->getOpcode(), dl, NewVT_Lo, Cond, LL, RL);
- Hi = DAG.getNode(Node->getOpcode(), dl, NewVT_Hi, Cond, LH, RH);
- }
- break;
- }
- case ISD::SELECT_CC: {
- SDValue CondLHS = Node->getOperand(0);
- SDValue CondRHS = Node->getOperand(1);
- SDValue CondCode = Node->getOperand(4);
-
- SDValue LL, LH, RL, RH;
- SplitVectorOp(Node->getOperand(2), LL, LH);
- SplitVectorOp(Node->getOperand(3), RL, RH);
-
- // Handle a simple select with vector operands.
- Lo = DAG.getNode(ISD::SELECT_C...