From f311f53a0fbe6063d32ad0767e005c2727feb365 Mon Sep 17 00:00:00 2001 From: Christopher Lamb Date: Tue, 18 Dec 2007 09:45:40 +0000 Subject: [PATCH] Fix typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45159 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 2 +- 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 b059c49f0aa..acda89bfe0b 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(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 ef38eee30e2..94d6c968920 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 ; [#uses=1] %tmp12 = add i32 %smax, %a ; [#uses=1] ret i32 %tmp12 -} \ No newline at end of file +}