aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-12-21 18:05:22 +0000
committerChris Lattner <sabre@nondot.org>2010-12-21 18:05:22 +0000
commit90b0364cff2531008831428a9b4576bf4be47c70 (patch)
tree58883c4c30cae54ac1e766fb772cc3e22e312bf4 /lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent234da6832fa0fb9b242d112e6b816f35c56b026e (diff)
downloadexternal_llvm-90b0364cff2531008831428a9b4576bf4be47c70.zip
external_llvm-90b0364cff2531008831428a9b4576bf4be47c70.tar.gz
external_llvm-90b0364cff2531008831428a9b4576bf4be47c70.tar.bz2
fix some typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index cd37c27..75d6013 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -4186,8 +4186,7 @@ SDValue DAGCombiner::ReduceLoadWidth(SDNode *N) {
if (LegalOperations && !TLI.isLoadExtLegal(ISD::SEXTLOAD, ExtVT))
return SDValue();
} else if (Opc == ISD::SRL) {
- // Annother special-case: SRL is basically zero-extending a narrower
- // value.
+ // Another special-case: SRL is basically zero-extending a narrower value.
ExtType = ISD::ZEXTLOAD;
N0 = SDValue(N, 0);
ConstantSDNode *N01 = dyn_cast<ConstantSDNode>(N0.getOperand(1));