[llvm] r176652 - Fix tautological compare. Not sure why this didn't trigger any test failures.

Jakub Staszak kubastaszak at gmail.com
Thu Mar 7 13:22:45 PST 2013


Thanks Ben.

- Kuba

On Mar 7, 2013, at 9:56 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:

> Author: d0k
> Date: Thu Mar  7 14:56:18 2013
> New Revision: 176652
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=176652&view=rev
> Log:
> Fix tautological compare. Not sure why this didn't trigger any test failures.
> 
> Modified:
>    llvm/trunk/include/llvm/IR/Instructions.h
> 
> Modified: llvm/trunk/include/llvm/IR/Instructions.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=176652&r1=176651&r2=176652&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/Instructions.h (original)
> +++ llvm/trunk/include/llvm/IR/Instructions.h Thu Mar  7 14:56:18 2013
> @@ -2758,7 +2758,7 @@ public:
>         return *this;
>       }
> 
> -      if (Index != -1UL)
> +      if (Index != -1U)
>         --SubsetIt;
> 
>       return *this;
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list