Changes in directory llvm/include/llvm/ADT:

APInt.h updated: 1.49 -> 1.50
---
Log message:

Get the signs in the right place!


---
Diffs of the changes:  (+1 -1)

 APInt.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APInt.h:1.49 llvm/include/llvm/ADT/APInt.h:1.50
--- llvm/include/llvm/ADT/APInt.h:1.49  Sat Mar 24 17:37:23 2007
+++ llvm/include/llvm/ADT/APInt.h       Sat Mar 24 17:50:43 2007
@@ -568,7 +568,7 @@
       if (RHS.isNegative())
         return -((-(*this)).urem(-RHS));
       else
-        return -(-(*this)).urem(RHS);
+        return -((-(*this)).urem(RHS));
     else if (RHS.isNegative())
       return this->urem(-RHS);
     return this->urem(RHS);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to