summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorKay Tiong Khoo <kkhoo@perfwizard.com>2013-09-23 18:43:51 +0000
committerKay Tiong Khoo <kkhoo@perfwizard.com>2013-09-23 18:43:51 +0000
commit670711e66217d32a751f0dfc7bb88006bfb05012 (patch)
treea9019e14bf5cfec28f74eb1ad0fdefb9a5013e2e /lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parenteb46def978a60fd705cca3037feff5573122b404 (diff)
downloadllvm-670711e66217d32a751f0dfc7bb88006bfb05012.tar.gz
llvm-670711e66217d32a751f0dfc7bb88006bfb05012.tar.bz2
llvm-670711e66217d32a751f0dfc7bb88006bfb05012.tar.xz
fix typo: than -> then
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b355cc9a64..8b884d52ea 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3114,7 +3114,7 @@ SDValue DAGCombiner::MatchBSwapHWord(SDNode *N, SDValue N0, SDValue N1) {
SDValue BSwap = DAG.getNode(ISD::BSWAP, SDLoc(N), VT,
SDValue(Parts[0],0));
- // Result of the bswap should be rotated by 16. If it's not legal, than
+ // Result of the bswap should be rotated by 16. If it's not legal, then
// do (x << 16) | (x >> 16).
SDValue ShAmt = DAG.getConstant(16, getShiftAmountTy(VT));
if (TLI.isOperationLegalOrCustom(ISD::ROTL, VT))