mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Change UpdateNodeOperands' operand and return value from SDValue to
SDNode *, since it doesn't care about the ResNo value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1087,10 +1087,11 @@ SDValue DAGTypeLegalizer::SplitVecOp_EXTRACT_VECTOR_ELT(SDNode *N) {
|
||||
uint64_t LoElts = Lo.getValueType().getVectorNumElements();
|
||||
|
||||
if (IdxVal < LoElts)
|
||||
return DAG.UpdateNodeOperands(SDValue(N, 0), Lo, Idx);
|
||||
return DAG.UpdateNodeOperands(SDValue(N, 0), Hi,
|
||||
return SDValue(DAG.UpdateNodeOperands(N, Lo, Idx), 0);
|
||||
return SDValue(DAG.UpdateNodeOperands(N, Hi,
|
||||
DAG.getConstant(IdxVal - LoElts,
|
||||
Idx.getValueType()));
|
||||
Idx.getValueType())),
|
||||
0);
|
||||
}
|
||||
|
||||
// Store the vector to the stack.
|
||||
|
Reference in New Issue
Block a user