[llvm] r332706 - [SystemZ] Fix commit message of previous commit.

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 05:07:16 PDT 2018


Author: jonpa
Date: Fri May 18 05:07:16 2018
New Revision: 332706

URL: http://llvm.org/viewvc/llvm-project?rev=332706&view=rev
Log:
[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.

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=332706&r1=332705&r2=332706&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp Fri May 18 05:07:16 2018
@@ -1512,7 +1512,7 @@ void SystemZDAGToDAGISel::Select(SDNode
       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;
       }




More information about the llvm-commits mailing list