summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-05-11 22:21:50 +0000
committerJustin Bogner <mail@justinbogner.com>2016-05-11 22:21:50 +0000
commitfde9f2e51dadcee4f7d6368e2a506fae5b01ef0b (patch)
treeb26ba6eace75c75aa7912813aa1bddc8bbf72031
parentb83c187195ea8b0f6bd33f4209095304766756c5 (diff)
downloadbcm5719-llvm-fde9f2e51dadcee4f7d6368e2a506fae5b01ef0b.tar.gz
bcm5719-llvm-fde9f2e51dadcee4f7d6368e2a506fae5b01ef0b.zip
SDAG: Use ReplaceNode here, not ReplaceUses
This was a typo in an earlier commit - there's no point in keeping the old node around here. Noticed by Meador Inge. Thanks! llvm-svn: 269245
-rw-r--r--llvm/lib/Target/X86/X86ISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index 92be2c0f42d..d6ef3b49cab 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -2150,7 +2150,7 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
SDValue Ops[] = {N1, InFlag};
SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops);
- ReplaceUses(Node, CNode);
+ ReplaceNode(Node, CNode);
return;
}
OpenPOWER on IntegriCloud