mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +00:00
Assign source ordering to nodes created for StoreInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
632c235a31
commit
7e13efad38
@ -3021,8 +3021,11 @@ void SelectionDAGBuilder::visitStore(const StoreInst &I) {
|
||||
isVolatile, isNonTemporal, Alignment, TBAAInfo);
|
||||
}
|
||||
|
||||
DAG.setRoot(DAG.getNode(ISD::TokenFactor, getCurDebugLoc(),
|
||||
MVT::Other, &Chains[0], NumValues));
|
||||
SDValue StoreNode = DAG.getNode(ISD::TokenFactor, getCurDebugLoc(),
|
||||
MVT::Other, &Chains[0], NumValues);
|
||||
++SDNodeOrder;
|
||||
AssignOrderingToNode(StoreNode.getNode());
|
||||
DAG.setRoot(StoreNode);
|
||||
}
|
||||
|
||||
/// visitTargetIntrinsic - Lower a call of a target intrinsic to an INTRINSIC
|
||||
|
Loading…
Reference in New Issue
Block a user