mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-07 21:09:21 +00:00
Fix casts from long to sbyte on ppc
llvm-svn: 22570
This commit is contained in:
parent
0d65956c61
commit
83f0262a2c
@ -1786,7 +1786,7 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) {
|
||||
case Expand:
|
||||
ExpandOp(Node->getOperand(0), Tmp1, Tmp2);
|
||||
// Truncate the low part of the expanded value to the result type
|
||||
Result = DAG.getNode(ISD::TRUNCATE, VT, Tmp1);
|
||||
Result = DAG.getNode(ISD::TRUNCATE, NVT, Tmp1);
|
||||
}
|
||||
break;
|
||||
case ISD::SIGN_EXTEND:
|
||||
|
Loading…
x
Reference in New Issue
Block a user