mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 06:56:12 +00:00
I really didn't think this was necessary. But, Legalize wasn't running again
and legalizing the extload. Strange. Should fix most alpha regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22329 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3711372233
commit
c6bead211b
@ -1351,8 +1351,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
DAG.getSrcValue(NULL));
|
||||
else {
|
||||
assert(Node->getValueType(0) == MVT::f64 && "Unexpected conversion");
|
||||
FudgeInReg = DAG.getNode(ISD::EXTLOAD, MVT::f64, DAG.getEntryNode(),
|
||||
CPIdx, DAG.getSrcValue(NULL), MVT::f32);
|
||||
FudgeInReg =
|
||||
LegalizeOp(DAG.getNode(ISD::EXTLOAD, MVT::f64, DAG.getEntryNode(),
|
||||
CPIdx, DAG.getSrcValue(NULL), MVT::f32));
|
||||
}
|
||||
Result = DAG.getNode(ISD::ADD, Node->getValueType(0), Tmp1, FudgeInReg);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user