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

Ivan Krasin krasin at chromium.org
Thu Aug 4 02:57:20 PDT 2011


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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lbo-rbo-typo.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110804/37c8505f/attachment.bin>


More information about the llvm-commits mailing list