mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 22:12:57 +02:00
Fix a ppc long double regression I introduced yesterday due to a
simplification. This fixes automotive-basicmath on PPC. llvm-svn: 46072
This commit is contained in:
parent
fb1774e709
commit
0d572fea6f
@ -1753,6 +1753,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
case ISD::FP_EXTEND:
|
||||
assert(MVT::isFloatingPoint(VT) &&
|
||||
MVT::isFloatingPoint(Operand.getValueType()) && "Invalid FP cast!");
|
||||
if (Operand.getValueType() == VT) return Operand; // noop conversion.
|
||||
break;
|
||||
case ISD::SIGN_EXTEND:
|
||||
assert(MVT::isInteger(VT) && MVT::isInteger(Operand.getValueType()) &&
|
||||
|
Loading…
Reference in New Issue
Block a user