[llvm-commits] [PATCH]Fix a typo in lib/Analysis/InstructionSimplify.cpp

Duncan Sands baldrick at free.fr
Thu Aug 4 03:03:22 PDT 2011


Applied, thanks for the patch.

Ciao, Duncan.

On 04/08/11 11:57, Ivan Krasin wrote:
> Hi llvm team,
>
> this is the last patch in this mini-serie. There're more reported
> problems at http://habrahabr.ru/blogs/compilers/125626/ but other
> issues need more close attention and it's hard to do at 3 AM.
>
> Ivan Krasin
>
>
> Index: lib/Analysis/InstructionSimplify.cpp
> ===================================================================
> --- lib/Analysis/InstructionSimplify.cpp	(revision 136864)
> +++ lib/Analysis/InstructionSimplify.cpp	(working copy)
> @@ -1888,7 +1888,7 @@
>           return V;
>         break;
>       case Instruction::Shl: {
> -      bool NUW = LBO->hasNoUnsignedWrap()&&  LBO->hasNoUnsignedWrap();
> +      bool NUW = LBO->hasNoUnsignedWrap()&&  RBO->hasNoUnsignedWrap();
>         bool NSW = LBO->hasNoSignedWrap()&&  RBO->hasNoSignedWrap();
>         if (!NUW&&  !NSW)
>           break;
>
>
>
> _______________________________________________
> 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