mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Remove an assumption of default arguments. This is in anticipation of a
change to SelectionDAG build APIs. llvm-svn: 96239
This commit is contained in:
parent
fcf8375377
commit
1b3d9eece5
@ -652,9 +652,10 @@ void X86DAGToDAGISel::PreprocessForFPConvert() {
|
|||||||
// FIXME: optimize the case where the src/dest is a load or store?
|
// FIXME: optimize the case where the src/dest is a load or store?
|
||||||
SDValue Store = CurDAG->getTruncStore(CurDAG->getEntryNode(), dl,
|
SDValue Store = CurDAG->getTruncStore(CurDAG->getEntryNode(), dl,
|
||||||
N->getOperand(0),
|
N->getOperand(0),
|
||||||
MemTmp, NULL, 0, MemVT);
|
MemTmp, NULL, 0, MemVT,
|
||||||
|
false, false, 0);
|
||||||
SDValue Result = CurDAG->getExtLoad(ISD::EXTLOAD, dl, DstVT, Store, MemTmp,
|
SDValue Result = CurDAG->getExtLoad(ISD::EXTLOAD, dl, DstVT, Store, MemTmp,
|
||||||
NULL, 0, MemVT);
|
NULL, 0, MemVT, false, false, 0);
|
||||||
|
|
||||||
// We're about to replace all uses of the FP_ROUND/FP_EXTEND with the
|
// We're about to replace all uses of the FP_ROUND/FP_EXTEND with the
|
||||||
// extload we created. This will cause general havok on the dag because
|
// extload we created. This will cause general havok on the dag because
|
||||||
|
Loading…
Reference in New Issue
Block a user