mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
CR fix: The ANY_EXTEND can be removed because the input and putput type must be
identical. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5edfbebb7d
commit
2ff4bc6155
@ -2838,12 +2838,11 @@ SDValue DAGTypeLegalizer::PromoteIntRes_INSERT_VECTOR_ELT(SDNode *N) {
|
||||
|
||||
DebugLoc dl = N->getDebugLoc();
|
||||
SDValue V0 = GetPromotedInteger(N->getOperand(0));
|
||||
SDValue ConvertedVector = DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, V0);
|
||||
|
||||
SDValue ConvElem = DAG.getNode(ISD::ANY_EXTEND, dl,
|
||||
NOutVTElem, N->getOperand(1));
|
||||
return DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, NOutVT,
|
||||
ConvertedVector, ConvElem, N->getOperand(2));
|
||||
V0, ConvElem, N->getOperand(2));
|
||||
}
|
||||
|
||||
SDValue DAGTypeLegalizer::PromoteIntOp_EXTRACT_VECTOR_ELT(SDNode *N) {
|
||||
|
Loading…
Reference in New Issue
Block a user