diff options
| author | Xin Tong <trent.xin.tong@gmail.com> | 2017-07-21 19:10:19 +0000 |
|---|---|---|
| committer | Xin Tong <trent.xin.tong@gmail.com> | 2017-07-21 19:10:19 +0000 |
| commit | 495a3022da453cbe63913866e2e21cb275cfb477 (patch) | |
| tree | cfa55ddd80a199e7af3a9920cf60dac4e444c774 /llvm/lib/CodeGen/SelectionDAG | |
| parent | 030f8b4c99f38996ea7f6bd56dca05b3a453ca69 (diff) | |
| download | bcm5719-llvm-495a3022da453cbe63913866e2e21cb275cfb477.tar.gz bcm5719-llvm-495a3022da453cbe63913866e2e21cb275cfb477.zip | |
[DAGCombiner] Update comment. NFC
llvm-svn: 308772
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 34912b7e062..677690b954f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -3258,7 +3258,7 @@ SDValue DAGCombiner::visitIMINMAX(SDNode *N) { if (SDValue FoldedVOp = SimplifyVBinOp(N)) return FoldedVOp; - // fold (add c1, c2) -> c1+c2 + // fold operation with constant operands. ConstantSDNode *N0C = getAsNonOpaqueConstant(N0); ConstantSDNode *N1C = getAsNonOpaqueConstant(N1); if (N0C && N1C) |

