this should be 128 I think
authorAndrew Lenharth <andrewl@lenharth.org>
Tue, 16 May 2006 17:45:23 +0000 (17:45 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Tue, 16 May 2006 17:45:23 +0000 (17:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28330 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index 49f8adebb001fa7fac07bfeb34b959adecf7f440..97ed577d3c637e0df75a6369c433a48d323f619b 100644 (file)
@@ -1500,7 +1500,7 @@ static mu magicu64(uint64_t d)
       r2 = 2*r2 + 1; // update r2
     }
     delta = d - 1 - r2;
-  } while (p < 64 && (q1 < delta || (q1 == delta && r1 == 0)));
+  } while (p < 128 && (q1 < delta || (q1 == delta && r1 == 0)));
   magu.m = q2 + 1; // resulting magic number
   magu.s = p - 64;  // resulting shift
   return magu;