diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-01 03:30:52 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-01 03:30:52 +0000 |
commit | c51aac675d5439135830c34e03a09ec3f225a227 (patch) | |
tree | a02246063887d647c958be5b29c04e577d74992b /llvm/lib/CodeGen/SelectionDAG | |
parent | 7dbc1d8433bc6ad5a0b305126951221b5838d2e7 (diff) | |
download | bcm5719-llvm-c51aac675d5439135830c34e03a09ec3f225a227.tar.gz bcm5719-llvm-c51aac675d5439135830c34e03a09ec3f225a227.zip |
[DAGCombiner] Fix typos in comments. NFC
llvm-svn: 317072
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index c75783af445..86c4f2c3565 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -1203,10 +1203,10 @@ SDValue DAGCombiner::PromoteIntBinOp(SDValue Op) { Replace0 &= !N0->hasOneUse(); Replace1 &= (N0 != N1) && !N1->hasOneUse(); - // Combine Op here so it is presreved past replacements. + // Combine Op here so it is preserved past replacements. CombineTo(Op.getNode(), RV); - // If operands have a use ordering, make sur we deal with + // If operands have a use ordering, make sure we deal with // predecessor first. if (Replace0 && Replace1 && N0.getNode()->isPredecessorOf(N1.getNode())) { std::swap(N0, N1); |