forked from OSchip/llvm-project
[SystemZ] Fix commit message of previous commit.
Sorry, the commit comment for r332703 is completely broken. My mind slipped - the right description would be: In SystemZDAGToDAGISel::Select(), in the handling for SELECT_CCMASK: Check if UpdateNodeOperands() returns a different SDNode and in that case call ReplaceNode. Review: Ulrich Weigand. llvm-svn: 332706
This commit is contained in:
parent
5c54742da4
commit
b51ccaf4d4
|
@ -1512,7 +1512,7 @@ void SystemZDAGToDAGISel::Select(SDNode *Node) {
|
|||
SDNode *UpdatedNode =
|
||||
CurDAG->UpdateNodeOperands(Node, Op1, Op0, CCValid, CCMask, Op4);
|
||||
if (UpdatedNode != Node) {
|
||||
// In case this node already exists, replace Node with it.
|
||||
// In case this node already exists then replace Node with it.
|
||||
ReplaceNode(Node, UpdatedNode);
|
||||
Node = UpdatedNode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue