projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f5c6c
)
Get the signs in the right place!
author
Reid Spencer
<rspencer@reidspencer.com>
Sat, 24 Mar 2007 22:50:43 +0000
(22:50 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sat, 24 Mar 2007 22:50:43 +0000
(22:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35307
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/APInt.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APInt.h
b/include/llvm/ADT/APInt.h
index 76a852b1a08475011187b7d6927d435daaaa2088..90564ef3f8b17b88adff64fcadb1202effea3787 100644
(file)
--- a/
include/llvm/ADT/APInt.h
+++ b/
include/llvm/ADT/APInt.h
@@
-568,7
+568,7
@@
public:
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);