mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a typo in the widening of vectors in PromoteIntRes. Patch by Shemer Anat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55caf9c60a
commit
fbb6f593c2
@ -252,9 +252,9 @@ SDValue DAGTypeLegalizer::PromoteIntRes_BITCAST(SDNode *N) {
|
||||
return DAG.getNode(ISD::BITCAST, dl, NOutVT, InOp);
|
||||
}
|
||||
case TargetLowering::TypeWidenVector:
|
||||
if (OutVT.bitsEq(NInVT))
|
||||
if (NOutVT.bitsEq(NInVT))
|
||||
// The input is widened to the same size. Convert to the widened value.
|
||||
return DAG.getNode(ISD::BITCAST, dl, OutVT, GetWidenedVector(InOp));
|
||||
return DAG.getNode(ISD::BITCAST, dl, NOutVT, GetWidenedVector(InOp));
|
||||
}
|
||||
|
||||
return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT,
|
||||
|
Loading…
Reference in New Issue
Block a user