[llvm] r250790 - SystemZ: Remove implicit ilist iterator conversion, NFC
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 18:12:46 PDT 2015
Author: dexonsmith
Date: Mon Oct 19 20:12:46 2015
New Revision: 250790
URL: http://llvm.org/viewvc/llvm-project?rev=250790&view=rev
Log:
SystemZ: Remove implicit ilist iterator conversion, NFC
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp?rev=250790&r1=250789&r2=250790&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp Mon Oct 19 20:12:46 2015
@@ -585,7 +585,7 @@ bool SystemZDAGToDAGISel::selectAddress(
static void insertDAGNode(SelectionDAG *DAG, SDNode *Pos, SDValue N) {
if (N.getNode()->getNodeId() == -1 ||
N.getNode()->getNodeId() > Pos->getNodeId()) {
- DAG->RepositionNode(Pos, N.getNode());
+ DAG->RepositionNode(Pos->getIterator(), N.getNode());
N.getNode()->setNodeId(Pos->getNodeId());
}
}
More information about the llvm-commits
mailing list