forked from OSchip/llvm-project
Fix thinko in ppcf128 expansion of truncating store.
llvm-svn: 58753
This commit is contained in:
parent
27889ab29f
commit
68035d4076
|
@ -1183,7 +1183,7 @@ SDValue DAGTypeLegalizer::ExpandFloatOp_STORE(SDNode *N, unsigned OpNo) {
|
|||
SDValue Lo, Hi;
|
||||
GetExpandedOp(ST->getValue(), Lo, Hi);
|
||||
|
||||
return DAG.getTruncStore(Chain, Lo, Ptr,
|
||||
return DAG.getTruncStore(Chain, Hi, Ptr,
|
||||
ST->getSrcValue(), ST->getSrcValueOffset(),
|
||||
ST->getMemoryVT(),
|
||||
ST->isVolatile(), ST->getAlignment());
|
||||
|
|
Loading…
Reference in New Issue