Fix typos.
authorChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Dec 2007 09:45:40 +0000 (09:45 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Dec 2007 09:45:40 +0000 (09:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45159 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

index b059c49f0aaffe466cedf2d12a61beb94062caea..acda89bfe0b51fc6e3864fb55b12342dd722c01e 100644 (file)
@@ -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;
index ef38eee30e2e1b467b00e2f40b8d8f292fd5e4cb..94d6c9689206c47dd1e5bf145d2f0822e6384552 100644 (file)
@@ -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
+}