diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-02-13 00:19:19 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-02-13 00:19:19 +0000 |
commit | 66bff1eec9f45733ff12b8d2307326a389270874 (patch) | |
tree | 2f4d5b306a4b64e3f62eadbf338123af988327a6 /lib/Transforms/InstCombine | |
parent | 49b5bb4cb4ec8c93f51cdaad925c9073788b94c8 (diff) |
Fix comment
visitSExt is an adapted copy of the related visitZExt method, so adapt the comment accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombineCasts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineCasts.cpp b/lib/Transforms/InstCombine/InstCombineCasts.cpp index fbc259b92b..a960ab2499 100644 --- a/lib/Transforms/InstCombine/InstCombineCasts.cpp +++ b/lib/Transforms/InstCombine/InstCombineCasts.cpp @@ -1041,8 +1041,8 @@ static bool CanEvaluateSExtd(Value *V, Type *Ty) { } Instruction *InstCombiner::visitSExt(SExtInst &CI) { - // If this sign extend is only used by a truncate, let the truncate by - // eliminated before we try to optimize this zext. + // If this sign extend is only used by a truncate, let the truncate be + // eliminated before we try to optimize this sext. if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) return 0; |