[llvm-commits] [llvm] r45159 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
Christopher Lamb
christopher.lamb at gmail.com
Tue Dec 18 01:45:44 PST 2007
Author: clamb
Date: Tue Dec 18 03:45:40 2007
New Revision: 45159
URL: http://llvm.org/viewvc/llvm-project?rev=45159&view=rev
Log:
Fix typos.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=45159&r1=45158&r2=45159&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Tue Dec 18 03:45:40 2007
@@ -2135,7 +2135,7 @@
// 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;
Modified: llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll?rev=45159&r1=45158&r2=45159&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll Tue Dec 18 03:45:40 2007
@@ -35,4 +35,4 @@
%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
+}
More information about the llvm-commits
mailing list