diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-18 09:45:40 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-18 09:45:40 +0000 |
commit | f311f53a0fbe6063d32ad0767e005c2727feb365 (patch) | |
tree | cb8e847a7df221f66635f479f5955ae245fda38b | |
parent | 30f017ad898bd86415aab001b45b5ac1373fa882 (diff) |
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45159 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 | ||||
-rw-r--r-- | test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index b059c49f0a..acda89bfe0 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -2135,7 +2135,7 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) { // add (select (icmp A m) X Y) A // // add (select X 0 (sub n A)) A -> - // select X A n -> + // select X A n { SelectInst *SI = dyn_cast<SelectInst>(LHS); Value *Other = RHS; diff --git a/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll b/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll index ef38eee30e..94d6c96892 100644 --- a/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll +++ b/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll @@ -35,4 +35,4 @@ entry: %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1] %tmp12 = add i32 %smax, %a ; <i32> [#uses=1] ret i32 %tmp12 -}
\ No newline at end of file +} |