Fix typos.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Christopher Lamb 2007-12-18 09:45:40 +00:00
parent 30f017ad89
commit f311f53a0f
2 changed files with 2 additions and 2 deletions

View 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;

View 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
}
}