[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:
Jonas Paulsson 2018-05-18 12:07:16 +00:00
parent 5c54742da4
commit b51ccaf4d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}