mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d416f713e
commit
31559081a4
@ -525,8 +525,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
|||||||
//f64 = EXTLOAD f32 should expand to LOAD, FP_EXTEND
|
//f64 = EXTLOAD f32 should expand to LOAD, FP_EXTEND
|
||||||
if (SrcVT == MVT::f32 && Node->getValueType(0) == MVT::f64) {
|
if (SrcVT == MVT::f32 && Node->getValueType(0) == MVT::f64) {
|
||||||
SDOperand Load = DAG.getLoad(SrcVT, Tmp1, Tmp2, Node->getOperand(2));
|
SDOperand Load = DAG.getLoad(SrcVT, Tmp1, Tmp2, Node->getOperand(2));
|
||||||
Result =
|
Result = DAG.getNode(ISD::FP_EXTEND, Node->getValueType(0), Load);
|
||||||
DAG.getNode(ISD::FP_EXTEND, Node->getValueType(0), Load, SrcVT);
|
|
||||||
if (Op.ResNo)
|
if (Op.ResNo)
|
||||||
return Load.getValue(1);
|
return Load.getValue(1);
|
||||||
return Result;
|
return Result;
|
||||||
|
Loading…
Reference in New Issue
Block a user