[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h
Reid Spencer
reid at x10sys.com
Sat Mar 24 15:51:00 PDT 2007
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);
More information about the llvm-commits
mailing list